; ; CCMenuItemToggler::create from 0x3c6e68 to 0x3c6f08 (160 bytes) ; ; 50 xrefs: ; > GameToolbox::createNotifyToggles @ 0x3ccf7e ; > GameToolbox::createToggleButton @ 0x3cd310 ; > GJThreadCell::loadFromThread @ 0x42b686 ; > GJMessageCell::loadFromMessage @ 0x42c064 ; > GJRequestCell::loadFromScore @ 0x42e9be ; > LevelCell::loadFromLevel @ 0x430ae6 ; > CommentCell::loadFromComment @ 0x433dea ; > PauseLayer::createToggleButton @ 0x48efe6 ; > MoreSearchLayer::createToggleButton @ 0x49578a ; > ShareLevelSettingsLayer::init @ 0x4a2fec ; > ShareLevelSettingsLayer::init @ 0x4a31f4 ; > ColorSelectPopup::init @ 0x4e07c0 ; > GJGarageLayer::setupIconSelect @ 0x50f84a ; > GJGarageLayer::setupIconSelect @ 0x50f89a ; > GJGarageLayer::setupIconSelect @ 0x50f8ea ; > GJGarageLayer::setupIconSelect @ 0x50f93a ; > GJGarageLayer::setupIconSelect @ 0x50f98a ; > GJGarageLayer::setupIconSelect @ 0x50f9da ; > GJGarageLayer::setupIconSelect @ 0x50fa2a ; > GJGarageLayer::setupIconSelect @ 0x50fada ; > GJGarageLayer::setupIconSelect @ 0x50fb2a ; > GJGarageLayer::setupIconSelect @ 0x50fb7a ; > GJGarageLayer::setupIconSelect @ 0x50fbca ; > OptionsLayer::createToggleButton @ 0x52cb6e ; > VideoOptionsLayer::createToggleButton @ 0x52d338 ; > ParentalOptionsLayer::init @ 0x5324be ; > SupportLayer::createToggleButton @ 0x539522 ; > ShareCommentLayer::init @ 0x541884 ; > LeaderboardsLayer::setupTabs @ 0x563666 ; > LeaderboardsLayer::setupTabs @ 0x5636f4 ; > LeaderboardsLayer::setupTabs @ 0x563782 ; > LeaderboardsLayer::setupTabs @ 0x563810 ; > CustomizeObjectLayer::createToggleButton @ 0x57e22e ; > AccountLayer::createToggleButton @ 0x583d1c ; > GJAccountSettingsLayer::createToggleButton @ 0x5d48ea ; > ColorSelectLiveOverlay::createToggleButton @ 0x601392 ; > CharacterColorPage::init @ 0x69dcca ; > LevelSettingsLayer::createToggleButton @ 0x6a92d0 ; > EditorUI::setupCreateMenu @ 0x70c140 ; > AccountReviewPopup::buildFilterRows @ 0x7369aa ; > AccountReviewPopup::buildReportedRows @ 0x739872 ; > AutoBackupPopup::buildRows @ 0x73efee ; > LevelPickerPopup::init @ 0x74abd4 ; > DeathMarkerSettingsPopup::init @ 0x76ea4a ; > DeathTrackerOptionsPopup::init @ 0x770196 ; > KeybindCapturePopup::init @ 0x79aca0 ; > PlatformerControlsPopup::init @ 0x79d252 ; > PlatformerControlsPopup::init @ 0x79d5d0 ; > ReportPopup::buildReasonRows @ 0x79f820 ; > TimeSpeedControl::init @ 0x7a2562 ; ; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! ; ; 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:46:34 +0000 ; SUB SP, SP, #8 ; +0x0, 0x3c6e68 PUSH {R0-R2,R4-R7,LR} ; +0x2, 0x3c6e6a MOV R7, R0 ; +0x4, 0x3c6e6c MOV.W R0, #0x138; unsigned int ; +0x6, 0x3c6e6e MOV R6, R1 ; +0xa, 0x3c6e72 MOV R5, R2 ; +0xc, 0x3c6e74 STR R3, [SP,#0xC+varg_r3] ; +0xe, 0x3c6e76 BL _Znwj; operator new(uint) ; +0x10, 0x3c6e78 MOV R4, R0 ; +0x14, 0x3c6e7c BL _ZN7cocos2d10CCNodeRGBAC2Ev; cocos2d::CCNodeRGBA::CCNodeRGBA(void) ; +0x16, 0x3c6e7e MOVS R2, #0 ; +0x1a, 0x3c6e82 STR.W R2, [R4,#0x128] ; +0x1c, 0x3c6e84 LDR R2, =(_ZTV17CCMenuItemToggler_ptr - 0x3C6E98) ; +0x20, 0x3c6e88 MOVS R3, #0 ; +0x22, 0x3c6e8a STRB.W R3, [R4,#0x116] ; +0x24, 0x3c6e8c STRB.W R3, [R4,#0x117] ; +0x28, 0x3c6e90 ADD R2, PC; _ZTV17CCMenuItemToggler_ptr ; +0x2c, 0x3c6e94 LDR R2, [R2]; `vtable for'CCMenuItemToggler ... ; +0x2e, 0x3c6e96 STR.W R3, [R4,#0x118] ; +0x30, 0x3c6e98 ADD.W R1, R2, #8 ; +0x34, 0x3c6e9c STR.W R3, [R4,#0x11C] ; +0x38, 0x3c6ea0 ADD.W R2, R2, #0x228 ; +0x3c, 0x3c6ea4 STR.W R3, [R4,#0x120] ; +0x40, 0x3c6ea8 STR.W R3, [R4,#0x124] ; +0x44, 0x3c6eac STR.W R3, [R4,#0x12C] ; +0x48, 0x3c6eb0 STR.W R3, [R4,#0x130] ; +0x4c, 0x3c6eb4 STRB.W R3, [R4,#0x134] ; +0x50, 0x3c6eb8 STRB.W R3, [R4,#0x135] ; +0x54, 0x3c6ebc ADD R3, SP, #0xC+varg_r3 ; +0x58, 0x3c6ec0 STR R1, [R4] ; +0x5a, 0x3c6ec2 LDM.W R3, {R0,R1} ; +0x5c, 0x3c6ec4 MOV R3, R5 ; +0x60, 0x3c6ec8 STR.W R2, [R4,#0x108] ; +0x62, 0x3c6eca MOV R2, R6 ; +0x66, 0x3c6ece STMEA.W SP, {R0,R1} ; +0x68, 0x3c6ed0 MOV R0, R4 ; +0x6c, 0x3c6ed4 MOV R1, R7 ; +0x6e, 0x3c6ed6 BL _ZN17CCMenuItemToggler4initEPN7cocos2d6CCNodeES2_PNS0_8CCObjectEMS3_FvS4_E; CCMenuItemToggler::init(cocos2d::CCNode *,cocos2d::CCNode *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x70, 0x3c6ed8 MOV R5, R0 ; +0x74, 0x3c6edc CBZ R0, loc_3C6EF2 ; +0x76, 0x3c6ede MOV R0, R4; this ; +0x78, 0x3c6ee0 BL _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x7a, 0x3c6ee2 B loc_3C6EFC ; +0x7e, 0x3c6ee6 MOV R0, R4; void * ; +0x80, 0x3c6ee8 BL _ZdlPv; operator delete(void *) ; +0x82, 0x3c6eea BL __cxa_end_cleanup ; +0x86, 0x3c6eee LDR R3, [R4] ; +0x8a, 0x3c6ef2 MOV R0, R4 ; +0x8c, 0x3c6ef4 MOV R4, R5 ; +0x8e, 0x3c6ef6 LDR R3, [R3,#8] ; +0x90, 0x3c6ef8 BLX R3 ; +0x92, 0x3c6efa MOV R0, R4 ; +0x94, 0x3c6efc ADD SP, SP, #0xC ; +0x96, 0x3c6efe POP.W {R4-R7,LR} ; +0x98, 0x3c6f00 ADD SP, SP, #8 ; +0x9c, 0x3c6f04 BX LR ; +0x9e, 0x3c6f06