; ; ColorSelectPopup::closeColorSelect from 0x4df2b2 to 0x4df3b8 (262 bytes) ; ; 1 xrefs: ; > ColorSelectPopup::keyBackClicked @ 0x4df3ba ; ; 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:50:59 +0000 ; PUSH {R0-R6,LR} ; +0x0, 0x4df2b2 MOV R4, R0 ; +0x2, 0x4df2b4 LDR.W R3, [R0,#0x314] ; +0x4, 0x4df2b6 CBZ R3, loc_4DF2CE ; +0x8, 0x4df2ba MOVS R1, #0 ; +0xa, 0x4df2bc STR.W R1, [R3,#0x1A4] ; +0xc, 0x4df2be LDR.W R0, [R0,#0x314] ; +0x10, 0x4df2c2 LDR R3, [R0] ; +0x14, 0x4df2c6 LDR.W R3, [R3,#0x244] ; +0x16, 0x4df2c8 BLX R3 ; +0x1a, 0x4df2cc LDR.W R3, [R4,#0x350] ; +0x1c, 0x4df2ce CBZ R3, loc_4DF2E6 ; +0x20, 0x4df2d2 MOVS R1, #0 ; +0x22, 0x4df2d4 STR.W R1, [R3,#0x1A4] ; +0x24, 0x4df2d6 LDR.W R0, [R4,#0x350] ; +0x28, 0x4df2da LDR R3, [R0] ; +0x2c, 0x4df2de LDR.W R3, [R3,#0x244] ; +0x2e, 0x4df2e0 BLX R3 ; +0x32, 0x4df2e4 LDR.W R3, [R4,#0x34C] ; +0x34, 0x4df2e6 MOVS R5, #0 ; +0x38, 0x4df2ea MOV R1, R5 ; +0x3a, 0x4df2ec STR.W R5, [R3,#0x1A4] ; +0x3c, 0x4df2ee LDR.W R0, [R4,#0x34C] ; +0x40, 0x4df2f2 LDR R3, [R0] ; +0x44, 0x4df2f6 LDR.W R3, [R3,#0x244] ; +0x46, 0x4df2f8 BLX R3 ; +0x4a, 0x4df2fc LDR.W R3, [R4,#0x360] ; +0x4c, 0x4df2fe MOV R1, R5 ; +0x50, 0x4df302 STR.W R5, [R3,#0x1A4] ; +0x52, 0x4df304 LDR.W R0, [R4,#0x360] ; +0x56, 0x4df308 LDR R3, [R0] ; +0x5a, 0x4df30c LDR.W R3, [R3,#0x244] ; +0x5c, 0x4df30e BLX R3 ; +0x60, 0x4df312 LDR.W R3, [R4,#0x364] ; +0x62, 0x4df314 MOV R1, R5 ; +0x66, 0x4df318 STR.W R5, [R3,#0x1A4] ; +0x68, 0x4df31a LDR.W R0, [R4,#0x364] ; +0x6c, 0x4df31e LDR R3, [R0] ; +0x70, 0x4df322 LDR.W R3, [R3,#0x244] ; +0x72, 0x4df324 BLX R3 ; +0x76, 0x4df328 LDR.W R3, [R4,#0x368] ; +0x78, 0x4df32a MOV R1, R5 ; +0x7c, 0x4df32e STR.W R5, [R3,#0x1A4] ; +0x7e, 0x4df330 LDR.W R0, [R4,#0x368] ; +0x82, 0x4df334 LDR R3, [R0] ; +0x86, 0x4df338 LDR.W R3, [R3,#0x244] ; +0x88, 0x4df33a BLX R3 ; +0x8c, 0x4df33e LDR.W R3, [R4,#0x36C] ; +0x8e, 0x4df340 MOV R1, R5 ; +0x92, 0x4df344 STR.W R5, [R3,#0x1A4] ; +0x94, 0x4df346 LDR.W R0, [R4,#0x36C] ; +0x98, 0x4df34a LDR R3, [R0] ; +0x9c, 0x4df34e LDR.W R3, [R3,#0x244] ; +0x9e, 0x4df350 BLX R3 ; +0xa2, 0x4df354 LDR.W R3, [R4,#0x330] ; +0xa4, 0x4df356 LDRB.W R2, [R3,#0x134] ; +0xa8, 0x4df35a CBNZ R2, loc_4DF378 ; +0xac, 0x4df35e ADD.W R3, R3, #0x124 ; +0xae, 0x4df360 ADD.W R6, R4, #0x334 ; +0xb2, 0x4df364 LDM R3, {R0-R3} ; +0xb6, 0x4df368 STMEA.W SP, {R0-R3} ; +0xb8, 0x4df36a STM.W R6, {R0-R3} ; +0xbc, 0x4df36e MOV R0, R4; this ; +0xc0, 0x4df372 BL _ZN16ColorSelectPopup14updateHSVValueEv; ColorSelectPopup::updateHSVValue(void) ; +0xc2, 0x4df374 BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0xc6, 0x4df378 LDR.W R1, [R4,#0x210]; GameObject * ; +0xca, 0x4df37c LDR.W R2, [R4,#0x214]; cocos2d::CCArray * ; +0xce, 0x4df380 LDR.W R0, [R0,#0x198]; this ; +0xd2, 0x4df384 BL _ZN16LevelEditorLayer23resetEffectTriggerOptimEP10GameObjectPN7cocos2d7CCArrayE; LevelEditorLayer::resetEffectTriggerOptim(GameObject *,cocos2d::CCArray *) ; +0xd6, 0x4df388 LDR R3, [R4] ; +0xda, 0x4df38c MOV R0, R4 ; +0xdc, 0x4df38e MOVS R1, #0 ; +0xde, 0x4df390 LDR.W R3, [R3,#0x218] ; +0xe0, 0x4df392 BLX R3 ; +0xe4, 0x4df396 LDR.W R0, [R4,#0x2FC] ; +0xe6, 0x4df398 CBZ R0, loc_4DF3A6 ; +0xea, 0x4df39c LDR R3, [R0] ; +0xec, 0x4df39e MOV R1, R4 ; +0xee, 0x4df3a0 LDR R3, [R3] ; +0xf0, 0x4df3a2 BLX R3 ; +0xf2, 0x4df3a4 LDR R3, [R4] ; +0xf4, 0x4df3a6 MOV R0, R4 ; +0xf6, 0x4df3a8 MOVS R1, #1 ; +0xf8, 0x4df3aa LDR.W R3, [R3,#0x108] ; +0xfa, 0x4df3ac ADD SP, SP, #0x10 ; +0xfe, 0x4df3b0 POP.W {R4-R6,LR} ; +0x100, 0x4df3b2 BX R3 ; +0x104, 0x4df3b6