Skip to content

Instantly share code, notes, and snippets.

@pookjw
Last active December 29, 2025 14:33
Show Gist options
  • Select an option

  • Save pookjw/97196a11acb60f4b7c7f5cefe61ef338 to your computer and use it in GitHub Desktop.

Select an option

Save pookjw/97196a11acb60f4b7c7f5cefe61ef338 to your computer and use it in GitHub Desktop.
$s7SwiftUI20DynamicContainerInfoV11updateItems33_E7D4CD2D59FB8C77D6C7E9C534464C17LL18disableTransitionsSb7changed_Sb8hasDepthtSb_tF
0x1dbcf4398 <+660>: mov w8, #0x1 ; =1
0x1dbcf439c <+664>: sturb w8, [x29, #-0x69]
0x1dbcf43a0 <+668>: mov x24, x26
0x1dbcf43a4 <+672>: cmp x25, x26
0x1dbcf43a8 <+676>: b.eq 0x1dbcf434c ; <+584>
-> 0x1dbcf43ac <+680>: cmp x25, x24
0x1dbcf43b0 <+684>: b.ge 0x1dbcf45a0 ; <+1180>
0x1dbcf43b4 <+688>: sub x26, x24, #0x1
0x1dbcf43b8 <+692>: ldr x1, [x19, x22] # x19 = self, x22 = offset of DynamicContainerInfo.info.items
0x1dbcf43bc <+696>: tst x1, #0xc000000000000001
0x1dbcf43c0 <+700>: b.ne 0x1dbcf4518 ; <+1044>
0x1dbcf43c4 <+704>: cmp x24, #0x1
0x1dbcf43c8 <+708>: b.lt 0x1dbcf45a4 ; <+1184>
0x1dbcf43cc <+712>: and x8, x1, #0xfffffffffffff8
0x1dbcf43d0 <+716>: ldr x8, [x8, #0x10]
0x1dbcf43d4 <+720>: cmp x26, x8
0x1dbcf43d8 <+724>: b.hs 0x1dbcf45a8 ; <+1188>
0x1dbcf43dc <+728>: add x8, x1, x24, lsl #3
0x1dbcf43e0 <+732>: ldr x20, [x8, #0x18]
0x1dbcf43e4 <+736>: mov x0, x20
0x1dbcf43e8 <+740>: bl 0x1dc3e2054 ; symbol stub for: swift_retain
0x1dbcf43ec <+744>: add x0, x20, #0x54
0x1dbcf43f0 <+748>: sub x1, x29, #0x98
0x1dbcf43f4 <+752>: mov x2, #0x0 ; =0
0x1dbcf43f8 <+756>: mov x3, #0x0 ; =0
0x1dbcf43fc <+760>: bl 0x1dc3e1ca0 ; symbol stub for: swift_beginAccess
0x1dbcf4400 <+764>: ldrb w23, [x20, #0x54] # Read self.info.items[index]
0x1dbcf4404 <+768>: mov x0, x20
0x1dbcf4408 <+772>: bl 0x1dc3e203c ; symbol stub for: swift_release
0x1dbcf440c <+776>: and w1, w28, #0x1
0x1dbcf4410 <+780>: mov x0, x26
0x1dbcf4414 <+784>: mov x2, x21
0x1dbcf4418 <+788>: mov x20, x19
0x1dbcf441c <+792>: bl 0x1dbcf45d4 ; SwiftUI.DynamicContainerInfo.tryRemovingItem(at: Swift.Int, disableTransitions: Swift.Bool) -> Swift.Bool
0x1dbcf4420 <+796>: tbnz w0, #0x0, 0x1dbcf4398 ; <+660>
0x1dbcf4424 <+800>: ldr x27, [x19, x22] # x27 = DynamicContainerInfo.info.items
0x1dbcf4428 <+804>: tst x27, #0xc000000000000001
0x1dbcf442c <+808>: b.ne 0x1dbcf4528 ; <+1060>
0x1dbcf4430 <+812>: cmp x24, #0x1
0x1dbcf4434 <+816>: b.lt 0x1dbcf45ac ; <+1192>
0x1dbcf4438 <+820>: and x22, x27, #0xffffffffffffff8
0x1dbcf443c <+824>: ldr x8, [x22, #0x10]
0x1dbcf4440 <+828>: cmp x26, x8
0x1dbcf4444 <+832>: b.hs 0x1dbcf45b0 ; <+1196>
0x1dbcf4448 <+836>: add x24, x27, x24, lsl #3 # x24 = x27[index]
0x1dbcf444c <+840>: ldr x20, [x24, #0x18]
0x1dbcf4450 <+844>: ldr d8, [x20, #0x40] # d8 = x27[index].zIndex
0x1dbcf4454 <+848>: ldurb w28, [x29, #-0x6a]
0x1dbcf4458 <+852>: mov x0, x20
0x1dbcf445c <+856>: bl 0x1dc3e2054 ; symbol stub for: swift_retain
0x1dbcf4460 <+860>: fcmp d8, #0.0
0x1dbcf4464 <+864>: cset w8, ne
0x1dbcf4468 <+868>: orr w8, w28, w8
0x1dbcf446c <+872>: and w8, w8, #0x1
0x1dbcf4470 <+876>: sturb w8, [x29, #-0x6a]
0x1dbcf4474 <+880>: tbnz x25, #0x3f, 0x1dbcf45b4 ; <+1200>
0x1dbcf4478 <+884>: add x8, x27, #0x20
0x1dbcf447c <+888>: ldr x8, [x8, x25, lsl #3]
0x1dbcf4480 <+892>: ldr d0, [x8, #0x40] # d0 = x27[target].zIndex
0x1dbcf4484 <+896>: fcmp d8, d0
0x1dbcf4488 <+900>: ldur w28, [x29, #-0xb4]
0x1dbcf448c <+904>: b.eq 0x1dbcf44ac ; <+936>
0x1dbcf4490 <+908>: ldr x8, [x22, #0x10]
0x1dbcf4494 <+912>: cmp x26, x8
0x1dbcf4498 <+916>: b.hs 0x1dbcf45bc ; <+1208>
0x1dbcf449c <+920>: ldr x8, [x24, #0x18]
0x1dbcf44a0 <+924>: str d8, [x8, #0x40] # x27[index].zIndex = d8
0x1dbcf44a4 <+928>: mov w8, #0x1 ; =1
0x1dbcf44a8 <+932>: sturb w8, [x29, #-0x69]
0x1dbcf44ac <+936>: ldr x8, [x22, #0x10]
0x1dbcf44b0 <+940>: cmp x26, x8
0x1dbcf44b4 <+944>: b.hs 0x1dbcf45b8 ; <+1204>
0x1dbcf44b8 <+948>: ldr x24, [x24, #0x18]
0x1dbcf44bc <+952>: mov x0, x24
0x1dbcf44c0 <+956>: bl 0x1dc3e2054 ; symbol stub for: swift_retain
0x1dbcf44c4 <+960>: ldur x22, [x29, #-0xc0]
0x1dbcf44c8 <+964>: mov x0, x20
0x1dbcf44cc <+968>: bl 0x1dc3e203c ; symbol stub for: swift_release
0x1dbcf44d0 <+972>: add x0, x24, #0x54 # x24[index].phase
0x1dbcf44d4 <+976>: sub x1, x29, #0xb0
0x1dbcf44d8 <+980>: mov x2, #0x0 ; =0
0x1dbcf44dc <+984>: mov x3, #0x0 ; =0
0x1dbcf44e0 <+988>: bl 0x1dc3e1ca0 ; symbol stub for: swift_beginAccess
0x1dbcf44e4 <+992>: ldrb w20, [x24, #0x54]
0x1dbcf44e8 <+996>: mov x0, x24
0x1dbcf44ec <+1000>: bl 0x1dc3e203c ; symbol stub for: swift_release
0x1dbcf44f0 <+1004>: cmp w20, #0x3
0x1dbcf44f4 <+1008>: b.ne 0x1dbcf4504 ; <+1024>
0x1dbcf44f8 <+1012>: cmp w23, #0x3
0x1dbcf44fc <+1016>: b.ne 0x1dbcf4398 ; <+660> # changed = true
0x1dbcf4500 <+1020>: b 0x1dbcf43a0 ; <+668>
0x1dbcf4504 <+1024>: cmp w23, #0x3
0x1dbcf4508 <+1028>: b.eq 0x1dbcf4398 ; <+660>
0x1dbcf450c <+1032>: cmp w20, w23
0x1dbcf4510 <+1036>: b.eq 0x1dbcf43a0 ; <+668>
0x1dbcf4514 <+1040>: b 0x1dbcf4398 ; <+660> # changed = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment