; ; CharacterColorPage::updateIconColors from 0x69d0d8 to 0x69d1f4 (284 bytes) ; ; 3 xrefs: ; > CharacterColorPage::toggleGlow @ 0x69d218 ; > CharacterColorPage::onPlayerColor @ 0x69d38e ; > CharacterColorPage::init @ 0x69dc44 ; ; 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:56:20 +0000 ; PUSH.W {R4-R11,LR} ; +0x0, 0x69d0d8 SUB SP, SP, #0x14 ; +0x4, 0x69d0dc LDR R6, =(__stack_chk_guard_ptr - 0x69D0EE) ; +0x6, 0x69d0de MOV R4, R0 ; +0x8, 0x69d0e0 ADD.W R10, SP, #0x14+var_10 ; +0xa, 0x69d0e2 ADD.W R11, SP, #8 ; +0xe, 0x69d0e6 ADD R6, PC; __stack_chk_guard_ptr ; +0x12, 0x69d0ea LDR R6, [R6]; __stack_chk_guard ; +0x14, 0x69d0ec MOV.W R8, #0 ; +0x16, 0x69d0ee MOV R9, SP ; +0x1a, 0x69d0f2 LDR R3, [R6] ; +0x1c, 0x69d0f4 STR R3, [SP,#0x14+var_8] ; +0x1e, 0x69d0f6 BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x20, 0x69d0f8 LDRB.W R5, [R0,#0x2C8] ; +0x24, 0x69d0fc BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x28, 0x69d100 MOV R7, R0 ; +0x2c, 0x69d104 BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x2e, 0x69d106 LDR.W R3, [R0,#0x268] ; +0x32, 0x69d10a LDR.W R1, [R0,#0x264] ; +0x36, 0x69d10e MOV R0, R7; this ; +0x3a, 0x69d112 SUBS R1, R1, R3; int ; +0x3c, 0x69d114 BL _ZN11GameManager11colorForIdxEi; GameManager::colorForIdx(int) ; +0x3e, 0x69d116 UBFX.W R3, R0, #8, #8 ; +0x42, 0x69d11a STRB.W R0, [SP,#0x14+var_14] ; +0x46, 0x69d11e STRB.W R3, [SP,#0x14+var_13] ; +0x4a, 0x69d122 UBFX.W R0, R0, #0x10, #8; this ; +0x4e, 0x69d126 STRB.W R0, [SP,#0x14+var_12] ; +0x52, 0x69d12a BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x56, 0x69d12e MOV R7, R0 ; +0x5a, 0x69d132 BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x5c, 0x69d134 LDR.W R3, [R0,#0x274] ; +0x60, 0x69d138 LDR.W R1, [R0,#0x270] ; +0x64, 0x69d13c MOV R0, R7; this ; +0x68, 0x69d140 SUBS R1, R1, R3; int ; +0x6a, 0x69d142 BL _ZN11GameManager11colorForIdxEi; GameManager::colorForIdx(int) ; +0x6c, 0x69d144 UBFX.W R3, R0, #8, #8 ; +0x70, 0x69d148 STRB.W R0, [SP,#0x14+var_10] ; +0x74, 0x69d14c STRB.W R3, [SP,#0x14+var_F] ; +0x78, 0x69d150 UBFX.W R0, R0, #0x10, #8; this ; +0x7c, 0x69d154 STRB.W R0, [SP,#0x14+var_E] ; +0x80, 0x69d158 BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x84, 0x69d15c LDR.W R3, [R0,#0x27C] ; +0x88, 0x69d160 LDR.W R7, [R0,#0x280] ; +0x8c, 0x69d164 SUBS R7, R3, R7 ; +0x90, 0x69d168 BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x92, 0x69d16a MOV R1, R7; int ; +0x96, 0x69d16e BL _ZN11GameManager11colorForIdxEi; GameManager::colorForIdx(int) ; +0x98, 0x69d170 UBFX.W R3, R0, #8, #8 ; +0x9c, 0x69d174 STRB.W R0, [SP,#0x14+var_C] ; +0xa0, 0x69d178 STRB.W R3, [SP,#0x14+var_B] ; +0xa4, 0x69d17c UBFX.W R0, R0, #0x10, #8 ; +0xa8, 0x69d180 STRB.W R0, [SP,#0x14+var_A] ; +0xac, 0x69d184 LDR.W R0, [R4,#0x214]; this ; +0xb0, 0x69d188 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xb4, 0x69d18c CMP R8, R0 ; +0xb8, 0x69d190 BCS loc_69D1E2 ; +0xba, 0x69d192 MOV R1, R8; unsigned int ; +0xbc, 0x69d194 LDR.W R0, [R4,#0x214]; this ; +0xbe, 0x69d196 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0xc2, 0x69d19a MOV R1, R9 ; +0xc6, 0x69d19e LDR R3, [R0] ; +0xc8, 0x69d1a0 MOV R7, R0 ; +0xca, 0x69d1a2 LDR.W R3, [R3,#0x1E0] ; +0xcc, 0x69d1a4 BLX R3 ; +0xd0, 0x69d1a8 MOV R0, R7 ; +0xd2, 0x69d1aa MOV R1, R10 ; +0xd4, 0x69d1ac BL _ZN12SimplePlayer14setSecondColorERKN7cocos2d10_ccColor3BE; SimplePlayer::setSecondColor(cocos2d::_ccColor3B const&) ; +0xd6, 0x69d1ae STRB.W R5, [R7,#0x21C] ; +0xda, 0x69d1b2 BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0xde, 0x69d1b6 LDR.W R3, [R0,#0x27C] ; +0xe2, 0x69d1ba LDR.W R2, [R0,#0x280] ; +0xe6, 0x69d1be MOV R0, R7; this ; +0xea, 0x69d1c2 SUBS R3, R3, R2 ; +0xec, 0x69d1c4 CMP R3, #0 ; +0xee, 0x69d1c6 BLT loc_69D1D2 ; +0xf0, 0x69d1c8 MOV R1, R11 ; +0xf2, 0x69d1ca BL _ZN12SimplePlayer21enableCustomGlowColorERKN7cocos2d10_ccColor3BE; SimplePlayer::enableCustomGlowColor(cocos2d::_ccColor3B const&) ; +0xf4, 0x69d1cc B loc_69D1D6 ; +0xf8, 0x69d1d0 BL _ZN12SimplePlayer22disableCustomGlowColorEv; SimplePlayer::disableCustomGlowColor(void) ; +0xfa, 0x69d1d2 MOV R0, R7; this ; +0xfe, 0x69d1d6 ADD.W R8, R8, #1 ; +0x100, 0x69d1d8 BL _ZN12SimplePlayer12updateColorsEv; SimplePlayer::updateColors(void) ; +0x104, 0x69d1dc B loc_69D188 ; +0x108, 0x69d1e0 LDR R2, [SP,#0x14+var_8] ; +0x10a, 0x69d1e2 LDR R3, [R6] ; +0x10c, 0x69d1e4 CMP R2, R3 ; +0x10e, 0x69d1e6 BEQ loc_69D1EE ; +0x110, 0x69d1e8 BLX __stack_chk_fail ; +0x112, 0x69d1ea ADD SP, SP, #0x14 ; +0x116, 0x69d1ee POP.W {R4-R11,PC} ; +0x118, 0x69d1f0