; ; CreateMenuItem::~CreateMenuItem from 0x686b50 to 0x686c18 (200 bytes) ; ; 2 xrefs: ; > @ 0xc6cd8 ; > @ 0x11561d0 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; STP X29, X30, [SP,#var_30]! ; +0x0, 0x686b50 MOV X29, SP ; +0x4, 0x686b54 STP X19, X20, [SP,#0x30+var_20] ; +0x8, 0x686b58 ADRP X20, #__stack_chk_guard_ptr@PAGE ; +0xc, 0x686b5c MOV X19, X0 ; +0x10, 0x686b60 ADRP X0, #_ZTV14CreateMenuItem_ptr@PAGE ; +0x14, 0x686b64 LDR X1, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x18, 0x686b68 LDR X0, [X0,#_ZTV14CreateMenuItem_ptr@PAGEOFF]; `vtable for'CreateMenuItem ... ; +0x1c, 0x686b6c LDR X2, [X19,#0x1D8] ; +0x20, 0x686b70 LDR X1, [X1] ; +0x24, 0x686b74 ADD X3, X0, #0x10 ; +0x28, 0x686b78 STR X1, [X29,#0x30+var_8] ; +0x2c, 0x686b7c ADRP X1, #off_122EFE8@PAGE ; +0x30, 0x686b80 ADD X0, X0, #0x478 ; +0x34, 0x686b84 STR X3, [X19] ; +0x38, 0x686b88 STR X0, [X19,#0x140] ; +0x3c, 0x686b8c SUB X0, X2, #0x18; p ; +0x40, 0x686b90 LDR X1, [X1,#off_122EFE8@PAGEOFF]; qword_124B6B0 ; +0x44, 0x686b94 CMP X0, X1 ; +0x48, 0x686b98 B.NE loc_686BD0 ; +0x4c, 0x686b9c MOV X0, X19; this ; +0x50, 0x686ba0 BL _ZN21CCMenuItemSpriteExtraD2Ev; CCMenuItemSpriteExtra::~CCMenuItemSpriteExtra() ; +0x54, 0x686ba4 MOV X0, X19; p ; +0x58, 0x686ba8 BL _ZdlPv; operator delete(void *) ; +0x5c, 0x686bac LDR X20, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x60, 0x686bb0 LDR X1, [X29,#0x30+var_8] ; +0x64, 0x686bb4 LDR X0, [X20] ; +0x68, 0x686bb8 CMP X1, X0 ; +0x6c, 0x686bbc B.NE loc_686C14 ; +0x70, 0x686bc0 LDP X19, X20, [SP,#0x30+var_20] ; +0x74, 0x686bc4 LDP X29, X30, [SP+0x30+var_30],#0x30 ; +0x78, 0x686bc8 RET ; +0x7c, 0x686bcc ADRP X1, #pthread_create_ptr_0@PAGE ; +0x80, 0x686bd0 LDR X1, [X1,#pthread_create_ptr_0@PAGEOFF]; pthread_create ; +0x84, 0x686bd4 CBZ X1, loc_686C04 ; +0x88, 0x686bd8 SUB X2, X2, #8 ; +0x8c, 0x686bdc LDAXR W1, [X2] ; +0x90, 0x686be0 SUB W3, W1, #1 ; +0x94, 0x686be4 STLXR W4, W3, [X2] ; +0x98, 0x686be8 CBNZ W4, loc_686BE0 ; +0x9c, 0x686bec CMP W1, WZR ; +0xa0, 0x686bf0 B.GT loc_686BA0 ; +0xa4, 0x686bf4 ADD X1, X29, #0x30+var_10 ; +0xa8, 0x686bf8 BL j__ZdlPv; operator delete(void *) ; +0xac, 0x686bfc B loc_686BA0 ; +0xb0, 0x686c00 LDUR W1, [X2,#-8] ; +0xb4, 0x686c04 SUB W3, W1, #1 ; +0xb8, 0x686c08 STUR W3, [X2,#-8] ; +0xbc, 0x686c0c B loc_686BF0 ; +0xc0, 0x686c10 BL .__stack_chk_fail ; +0xc4, 0x686c14