; ; CCMenuItemToggler::create from 0x1002240c4 to 0x100224180 (188 bytes) ; ; 45 xrefs: ; > sub_100048E80 @ 0x1000491a0 ; > GameToolbox::createToggleButton @ 0x100049738 ; > sub_10005EE2C @ 0x10005eed0 ; > sub_100114950 @ 0x100114a00 ; > ParentalOptionsLayer::init @ 0x100116b54 ; > LevelCell::loadFromLevel @ 0x100127ecc ; > CommentCell::loadFromComment @ 0x10012c6fc ; > GJRequestCell::loadFromScore @ 0x10012f278 ; > GJMessageCell::loadFromMessage @ 0x10012f9f0 ; > GJThreadCell::loadFromThread @ 0x100130920 ; > CharacterColorPage::init @ 0x100152eb8 ; > EditorUI::setupCreateMenu @ 0x1001841b8 ; > KeybindCapturePopup::init @ 0x1001a4984 ; > sub_10020CE28 @ 0x10020cecc ; > sub_100225BC4 @ 0x100225c6c ; > ShareCommentLayer::init @ 0x10026cc5c ; > sub_100314E5C @ 0x100315268 ; > sub_100314E5C @ 0x1003154ec ; > sub_10037490C @ 0x1003749b8 ; > GJGarageLayer::setupIconSelect @ 0x1003a0820 ; > GJGarageLayer::setupIconSelect @ 0x1003a089c ; > GJGarageLayer::setupIconSelect @ 0x1003a0910 ; > GJGarageLayer::setupIconSelect @ 0x1003a0984 ; > GJGarageLayer::setupIconSelect @ 0x1003a09f8 ; > GJGarageLayer::setupIconSelect @ 0x1003a0a6c ; > GJGarageLayer::setupIconSelect @ 0x1003a0ae0 ; > GJGarageLayer::setupIconSelect @ 0x1003a0b54 ; > GJGarageLayer::setupIconSelect @ 0x1003a0bc8 ; > GJGarageLayer::setupIconSelect @ 0x1003a0c3c ; > GJGarageLayer::setupIconSelect @ 0x1003a0cb0 ; > sub_10045800C @ 0x1004580ac ; > sub_10045800C @ 0x100458158 ; > sub_10045800C @ 0x1004581f4 ; > sub_10045800C @ 0x100458290 ; > sub_10049E474 @ 0x10049f2e8 ; > DeathMarkerSettingsPopup::init @ 0x1004b7444 ; > sub_1004B9328 @ 0x1004b94cc ; > sub_1005048D8 @ 0x100505084 ; > PlatformerControlsPopup::init @ 0x10051b7d0 ; > PlatformerControlsPopup::init @ 0x10051bc10 ; > sub_10051FC14 @ 0x10051fcf8 ; > TimeSpeedControl::init @ 0x10052ba08 ; > sub_10053053C @ 0x100530860 ; > sub_1005452FC @ 0x100545530 ; > sub_1005467AC @ 0x100546a00 ; ; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:01:09 +0000 ; STP X24, X23, [SP,#-0x10+var_30]! ; +0x0, 0x1002240c4 STP X22, X21, [SP,#0x30+var_20] ; +0x4, 0x1002240c8 STP X20, X19, [SP,#0x30+var_10] ; +0x8, 0x1002240cc STP X29, X30, [SP,#0x30+var_s0] ; +0xc, 0x1002240d0 ADD X29, SP, #0x30 ; +0x10, 0x1002240d4 MOV X20, X4 ; +0x14, 0x1002240d8 MOV X21, X3 ; +0x18, 0x1002240dc MOV X22, X2 ; +0x1c, 0x1002240e0 MOV X23, X1 ; +0x20, 0x1002240e4 MOV X24, X0 ; +0x24, 0x1002240e8 MOV W0, #0x190; __sz ; +0x28, 0x1002240ec BL __Znwm; operator new(ulong) ; +0x2c, 0x1002240f0 MOV X19, X0 ; +0x30, 0x1002240f4 BL cocos2d__CCNodeRGBA__CCNodeRGBA ; +0x34, 0x1002240f8 STRH WZR, [X19,#0x152] ; +0x38, 0x1002240fc ADD X8, X19, #0x158 ; +0x3c, 0x100224100 MOVI V0.16B, #0 ; +0x40, 0x100224104 STP Q0, Q0, [X8] ; +0x44, 0x100224108 ADRL X8, off_1008FDD68 ; +0x48, 0x10022410c STR X8, [X19] ; +0x50, 0x100224114 ADD X8, X8, #(off_1008FE1A8 - 0x1008FDD68) ; +0x54, 0x100224118 STR X8, [X19,#0x140] ; +0x58, 0x10022411c STP XZR, XZR, [X19,#0x178] ; +0x5c, 0x100224120 STRH WZR, [X19,#0x188] ; +0x60, 0x100224124 MOV X0, X19 ; +0x64, 0x100224128 MOV X1, X24 ; +0x68, 0x10022412c MOV X2, X23 ; +0x6c, 0x100224130 MOV X3, X22 ; +0x70, 0x100224134 MOV X4, X21 ; +0x74, 0x100224138 MOV X5, X20 ; +0x78, 0x10022413c BL CCMenuItemToggler__init ; +0x7c, 0x100224140 CBZ W0, loc_100224154 ; +0x80, 0x100224144 MOV X0, X19 ; +0x84, 0x100224148 BL cocos2d__CCObject__autorelease ; +0x88, 0x10022414c B loc_100224168 ; +0x8c, 0x100224150 LDR X8, [X19] ; +0x90, 0x100224154 LDR X8, [X8,#0x10] ; +0x94, 0x100224158 MOV X0, X19 ; +0x98, 0x10022415c BLR X8 ; +0x9c, 0x100224160 MOV X19, #0 ; +0xa0, 0x100224164 MOV X0, X19 ; +0xa4, 0x100224168 LDP X29, X30, [SP,#0x30+var_s0] ; +0xa8, 0x10022416c LDP X20, X19, [SP,#0x30+var_10] ; +0xac, 0x100224170 LDP X22, X21, [SP,#0x30+var_20] ; +0xb0, 0x100224174 LDP X24, X23, [SP+0x30+var_30],#0x40 ; +0xb4, 0x100224178 RET ; +0xb8, 0x10022417c