; ; CharacterColorPage::activeColorForMode from 0xb514c0 to 0xb51530 (112 bytes) ; ; 5 xrefs: ; > CharacterColorPage::updateColorMode @ 0xb51568 ; > CharacterColorPage::updateColorMode @ 0xb51578 ; > CharacterColorPage::updateColorMode @ 0xb51588 ; > CharacterColorPage::onPlayerColor @ 0xb51c44 ; > @ 0xf1738 ; ; 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 13:01:59 +0000 ; STP X29, X30, [SP,#-0x10+var_s0]! ; +0x0, 0xb514c0 CMP W1, #1 ; +0x4, 0xb514c4 MOV X29, SP ; +0x8, 0xb514c8 B.EQ loc_B51518 ; +0xc, 0xb514cc CMP W1, #2 ; +0x10, 0xb514d0 B.EQ loc_B51500 ; +0x14, 0xb514d4 MOV W0, #0; this ; +0x18, 0xb514d8 CBZ W1, loc_B514E8 ; +0x1c, 0xb514dc LDP X29, X30, [SP+var_s0],#0x10 ; +0x20, 0xb514e0 RET ; +0x24, 0xb514e4 BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x28, 0xb514e8 LDR W1, [X0,#0x32C] ; +0x2c, 0xb514ec LDR W0, [X0,#0x330] ; +0x30, 0xb514f0 LDP X29, X30, [SP+var_s0],#0x10 ; +0x34, 0xb514f4 SUB W0, W1, W0; this ; +0x38, 0xb514f8 RET ; +0x3c, 0xb514fc BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x40, 0xb51500 LDR W1, [X0,#0x344] ; +0x44, 0xb51504 LDR W0, [X0,#0x348] ; +0x48, 0xb51508 LDP X29, X30, [SP+var_s0],#0x10 ; +0x4c, 0xb5150c SUB W0, W1, W0; this ; +0x50, 0xb51510 RET ; +0x54, 0xb51514 BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x58, 0xb51518 LDR W1, [X0,#0x338] ; +0x5c, 0xb5151c LDR W0, [X0,#0x33C] ; +0x60, 0xb51520 LDP X29, X30, [SP+var_s0],#0x10 ; +0x64, 0xb51524 SUB W0, W1, W0 ; +0x68, 0xb51528 RET ; +0x6c, 0xb5152c