; ; CCMenuItemToggler::create from 0x2e6cbc to 0x2e6d5c (160 bytes) ; ; 39 xrefs: ; > GameToolbox::createToggleButton @ 0x2ec010 ; > LevelCell::loadFromLevel @ 0x3337aa ; > GJRequestCell::loadFromScore @ 0x339574 ; > GJMessageCell::loadFromMessage @ 0x339daa ; > EditorUI::setupCreateMenu @ 0x39bd86 ; > PauseLayer::createToggleButton @ 0x3a7d0c ; > MoreSearchLayer::createToggleButton @ 0x3af688 ; > ShareLevelSettingsLayer::init @ 0x3b9d90 ; > ShareLevelSettingsLayer::init @ 0x3b9f94 ; > LevelBrowserLayer::init @ 0x3bc92c ; > ColorSelectPopup::init @ 0x3db4fc ; > GJGarageLayer::setupIconSelect @ 0x4067ea ; > GJGarageLayer::setupIconSelect @ 0x40683a ; > GJGarageLayer::setupIconSelect @ 0x40688a ; > GJGarageLayer::setupIconSelect @ 0x4068da ; > GJGarageLayer::setupIconSelect @ 0x40692a ; > GJGarageLayer::setupIconSelect @ 0x40697a ; > GJGarageLayer::setupIconSelect @ 0x4069ca ; > GJGarageLayer::setupIconSelect @ 0x406a7a ; > GJGarageLayer::setupIconSelect @ 0x406aca ; > GJGarageLayer::setupIconSelect @ 0x406b1a ; > GJGarageLayer::setupIconSelect @ 0x406b6a ; > OptionsLayer::createToggleButton @ 0x422868 ; > VideoOptionsLayer::createToggleButton @ 0x4248fa ; > SupportLayer::createToggleButton @ 0x42cce0 ; > ShareCommentLayer::init @ 0x432020 ; > LeaderboardsLayer::setupTabs @ 0x451a0e ; > LeaderboardsLayer::setupTabs @ 0x451a8c ; > LeaderboardsLayer::setupTabs @ 0x451b0a ; > LeaderboardsLayer::setupTabs @ 0x451b88 ; > CustomizeObjectLayer::createToggleButton @ 0x46160a ; > AccountLayer::createToggleButton @ 0x4667ec ; > GJAccountSettingsLayer::createToggleButton @ 0x4abc08 ; > MessagesProfilePage::init @ 0x4c16ea ; > sub_4C275C @ 0x4c2c48 ; > CollisionBlockPopup::createToggleButton @ 0x4cd494 ; > ColorSelectLiveOverlay::createToggleButton @ 0x4ce29c ; > CharacterColorPage::init @ 0x565d2c ; > LevelSettingsLayer::createToggleButton @ 0x570248 ; ; 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 ; SUB SP, SP, #8 ; +0x0, 0x2e6cbc PUSH {R0-R2,R4-R7,LR} ; +0x2, 0x2e6cbe MOV R7, R0 ; +0x4, 0x2e6cc0 MOV.W R0, #0x138; unsigned int ; +0x6, 0x2e6cc2 MOV R6, R1 ; +0xa, 0x2e6cc6 MOV R5, R2 ; +0xc, 0x2e6cc8 STR R3, [SP,#0xC+varg_r3] ; +0xe, 0x2e6cca BL _Znwj; operator new(uint) ; +0x10, 0x2e6ccc MOV R4, R0 ; +0x14, 0x2e6cd0 BL _ZN7cocos2d10CCNodeRGBAC2Ev; cocos2d::CCNodeRGBA::CCNodeRGBA(void) ; +0x16, 0x2e6cd2 MOVS R2, #0 ; +0x1a, 0x2e6cd6 STR.W R2, [R4,#0x128] ; +0x1c, 0x2e6cd8 LDR R2, =(_ZTV17CCMenuItemToggler_ptr - 0x2E6CEC) ; +0x20, 0x2e6cdc MOVS R3, #0 ; +0x22, 0x2e6cde STRB.W R3, [R4,#0x116] ; +0x24, 0x2e6ce0 STRB.W R3, [R4,#0x117] ; +0x28, 0x2e6ce4 ADD R2, PC; _ZTV17CCMenuItemToggler_ptr ; +0x2c, 0x2e6ce8 LDR R2, [R2]; `vtable for'CCMenuItemToggler ... ; +0x2e, 0x2e6cea STR.W R3, [R4,#0x118] ; +0x30, 0x2e6cec ADD.W R1, R2, #8 ; +0x34, 0x2e6cf0 STR.W R3, [R4,#0x11C] ; +0x38, 0x2e6cf4 ADD.W R2, R2, #0x220 ; +0x3c, 0x2e6cf8 STR.W R3, [R4,#0x120] ; +0x40, 0x2e6cfc STR.W R3, [R4,#0x124] ; +0x44, 0x2e6d00 STR.W R3, [R4,#0x12C] ; +0x48, 0x2e6d04 STR.W R3, [R4,#0x130] ; +0x4c, 0x2e6d08 STRB.W R3, [R4,#0x134] ; +0x50, 0x2e6d0c STRB.W R3, [R4,#0x135] ; +0x54, 0x2e6d10 ADD R3, SP, #0xC+varg_r3 ; +0x58, 0x2e6d14 STR R1, [R4] ; +0x5a, 0x2e6d16 LDM.W R3, {R0,R1} ; +0x5c, 0x2e6d18 MOV R3, R5 ; +0x60, 0x2e6d1c STR.W R2, [R4,#0x108] ; +0x62, 0x2e6d1e MOV R2, R6 ; +0x66, 0x2e6d22 STMEA.W SP, {R0,R1} ; +0x68, 0x2e6d24 MOV R0, R4 ; +0x6c, 0x2e6d28 MOV R1, R7 ; +0x6e, 0x2e6d2a BL _ZN17CCMenuItemToggler4initEPN7cocos2d6CCNodeES2_PNS0_8CCObjectEMS3_FvS4_E; CCMenuItemToggler::init(cocos2d::CCNode *,cocos2d::CCNode *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x70, 0x2e6d2c MOV R5, R0 ; +0x74, 0x2e6d30 CBZ R0, loc_2E6D46 ; +0x76, 0x2e6d32 MOV R0, R4; this ; +0x78, 0x2e6d34 BL _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x7a, 0x2e6d36 B loc_2E6D50 ; +0x7e, 0x2e6d3a MOV R0, R4; p ; +0x80, 0x2e6d3c BL _ZdlPv; operator delete(void *) ; +0x82, 0x2e6d3e BL __cxa_end_cleanup ; +0x86, 0x2e6d42 LDR R3, [R4] ; +0x8a, 0x2e6d46 MOV R0, R4 ; +0x8c, 0x2e6d48 MOV R4, R5 ; +0x8e, 0x2e6d4a LDR R3, [R3,#8] ; +0x90, 0x2e6d4c BLX R3 ; +0x92, 0x2e6d4e MOV R0, R4 ; +0x94, 0x2e6d50 ADD SP, SP, #0xC ; +0x96, 0x2e6d52 POP.W {R4-R7,LR} ; +0x98, 0x2e6d54 ADD SP, SP, #8 ; +0x9c, 0x2e6d58 BX LR ; +0x9e, 0x2e6d5a