; ; CCMenuItemToggler::create from 0x576a14 to 0x576b18 (260 bytes) ; ; 40 xrefs: ; > GameToolbox::createToggleButton @ 0x580034 ; > LevelCell::loadFromLevel @ 0x612778 ; > GJRequestCell::loadFromScore @ 0x61c660 ; > GJMessageCell::loadFromMessage @ 0x61d398 ; > EditorUI::setupCreateMenu @ 0x6b34a8 ; > PauseLayer::createToggleButton @ 0x6c6d74 ; > MoreSearchLayer::createToggleButton @ 0x6d394c ; > ShareLevelSettingsLayer::init @ 0x6e5f3c ; > ShareLevelSettingsLayer::init @ 0x6e6180 ; > LevelBrowserLayer::init @ 0x6ebc5c ; > ColorSelectPopup::init @ 0x73f0e0 ; > GJGarageLayer::setupIconSelect @ 0x7983dc ; > GJGarageLayer::setupIconSelect @ 0x798454 ; > GJGarageLayer::setupIconSelect @ 0x7984c8 ; > GJGarageLayer::setupIconSelect @ 0x79853c ; > GJGarageLayer::setupIconSelect @ 0x7985b0 ; > GJGarageLayer::setupIconSelect @ 0x798624 ; > GJGarageLayer::setupIconSelect @ 0x798698 ; > GJGarageLayer::setupIconSelect @ 0x79870c ; > GJGarageLayer::setupIconSelect @ 0x798780 ; > GJGarageLayer::setupIconSelect @ 0x7987f4 ; > GJGarageLayer::setupIconSelect @ 0x79886c ; > OptionsLayer::createToggleButton @ 0x7c9678 ; > VideoOptionsLayer::createToggleButton @ 0x7cca00 ; > SupportLayer::createToggleButton @ 0x7dd0c4 ; > ShareCommentLayer::init @ 0x7e736c ; > LeaderboardsLayer::setupTabs @ 0x81de0c ; > LeaderboardsLayer::setupTabs @ 0x81deb8 ; > LeaderboardsLayer::setupTabs @ 0x81df5c ; > LeaderboardsLayer::setupTabs @ 0x81e000 ; > CustomizeObjectLayer::createToggleButton @ 0x8404fc ; > AccountLayer::createToggleButton @ 0x84afec ; > GJAccountSettingsLayer::createToggleButton @ 0x8c9fb8 ; > MessagesProfilePage::init @ 0x8f3690 ; > FRequestProfilePage::init @ 0x8f5eec ; > CollisionBlockPopup::createToggleButton @ 0x90932c ; > ColorSelectLiveOverlay::createToggleButton @ 0x90a99c ; > CharacterColorPage::init @ 0xa25e84 ; > LevelSettingsLayer::createToggleButton @ 0xa35398 ; > @ 0x73cf8 ; ; 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,#-0x40+var_s0]! ; +0x0, 0x576a14 MOV X29, SP ; +0x4, 0x576a18 STP X23, X24, [SP,#var_s30] ; +0x8, 0x576a1c MOV X24, X0 ; +0xc, 0x576a20 MOV X0, #0x190; unsigned __int64 ; +0x10, 0x576a24 STP X19, X20, [SP,#var_s10] ; +0x14, 0x576a28 STP X21, X22, [SP,#var_s20] ; +0x18, 0x576a2c MOV X23, X1 ; +0x1c, 0x576a30 MOV X22, X2 ; +0x20, 0x576a34 MOV X20, X3 ; +0x24, 0x576a38 MOV X21, X4 ; +0x28, 0x576a3c BL _Znwm; operator new(ulong) ; +0x2c, 0x576a40 MOV X19, X0 ; +0x30, 0x576a44 BL _ZN7cocos2d10CCNodeRGBAC2Ev; cocos2d::CCNodeRGBA::CCNodeRGBA(void) ; +0x34, 0x576a48 FMOV S0, WZR ; +0x38, 0x576a4c ADRP X6, #_ZTV17CCMenuItemToggler_ptr@PAGE ; +0x3c, 0x576a50 STRB WZR, [X19,#0x152] ; +0x40, 0x576a54 MOV X0, X19 ; +0x44, 0x576a58 STRB WZR, [X19,#0x153] ; +0x48, 0x576a5c MOV X1, X24 ; +0x4c, 0x576a60 STR XZR, [X19,#0x158] ; +0x50, 0x576a64 MOV X2, X23 ; +0x54, 0x576a68 STR XZR, [X19,#0x160] ; +0x58, 0x576a6c MOV X3, X22 ; +0x5c, 0x576a70 STR XZR, [X19,#0x168] ; +0x60, 0x576a74 MOV X4, X20 ; +0x64, 0x576a78 STR WZR, [X19,#0x170] ; +0x68, 0x576a7c MOV X5, X21 ; +0x6c, 0x576a80 STR S0, [X19,#0x174] ; +0x70, 0x576a84 LDR X6, [X6,#_ZTV17CCMenuItemToggler_ptr@PAGEOFF]; `vtable for'CCMenuItemToggler ... ; +0x74, 0x576a88 STR XZR, [X19,#0x178] ; +0x78, 0x576a8c ADD X7, X6, #0x10 ; +0x7c, 0x576a90 STR XZR, [X19,#0x180] ; +0x80, 0x576a94 ADD X6, X6, #0x440 ; +0x84, 0x576a98 STR X7, [X19] ; +0x88, 0x576a9c STR X6, [X19,#0x140] ; +0x8c, 0x576aa0 STRB WZR, [X19,#0x188] ; +0x90, 0x576aa4 STRB WZR, [X19,#0x189] ; +0x94, 0x576aa8 BL _ZN17CCMenuItemToggler4initEPN7cocos2d6CCNodeES2_PNS0_8CCObjectEMS3_FvS4_E; CCMenuItemToggler::init(cocos2d::CCNode *,cocos2d::CCNode *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x98, 0x576aac UXTB W0, W0 ; +0x9c, 0x576ab0 CBZ W0, loc_576AD8 ; +0xa0, 0x576ab4 MOV X0, X19; this ; +0xa4, 0x576ab8 BL _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0xa8, 0x576abc MOV X0, X19 ; +0xac, 0x576ac0 LDP X19, X20, [SP,#var_s10] ; +0xb0, 0x576ac4 LDP X21, X22, [SP,#var_s20] ; +0xb4, 0x576ac8 LDP X23, X24, [SP,#var_s30] ; +0xb8, 0x576acc LDP X29, X30, [SP+var_s0],#0x40 ; +0xbc, 0x576ad0 RET ; +0xc0, 0x576ad4 LDR X1, [X19] ; +0xc4, 0x576ad8 MOV X0, X19 ; +0xc8, 0x576adc MOV X19, #0 ; +0xcc, 0x576ae0 LDR X1, [X1,#0x10] ; +0xd0, 0x576ae4 BLR X1 ; +0xd4, 0x576ae8 MOV X0, X19 ; +0xd8, 0x576aec LDP X19, X20, [SP,#var_s10] ; +0xdc, 0x576af0 LDP X21, X22, [SP,#var_s20] ; +0xe0, 0x576af4 LDP X23, X24, [SP,#var_s30] ; +0xe4, 0x576af8 LDP X29, X30, [SP+var_s0],#0x40 ; +0xe8, 0x576afc RET ; +0xec, 0x576b00 MOV X20, X0 ; +0xf0, 0x576b04 MOV X0, X19; p ; +0xf4, 0x576b08 BL _ZdlPv; operator delete(void *) ; +0xf8, 0x576b0c MOV X0, X20 ; +0xfc, 0x576b10 BL _Unwind_Resume ; +0x100, 0x576b14