; ; CharacterColorPage::offsetForIndex from 0xa24edc to 0xa24f6c (144 bytes) ; ; 2 xrefs: ; > CharacterColorPage::createColorMenu @ 0xa251cc ; > @ 0xaf290 ; ; 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 ; STP X29, X30, [SP,#var_20]! ; +0x0, 0xa24edc SUB W0, W1, #0x36 ; '6' ; +0x4, 0xa24ee0 CMP W0, #0x51 ; 'Q' ; +0x8, 0xa24ee4 MOV X29, SP ; +0xc, 0xa24ee8 B.LS loc_A24F64 ; +0x10, 0xa24eec CMP W1, #0x87 ; +0x14, 0xa24ef0 FMOV S1, WZR ; +0x18, 0xa24ef4 B.LE loc_A24F00 ; +0x1c, 0xa24ef8 LDR S1, flt_A24F70; float ; +0x20, 0xa24efc SUB W1, W1, #4; switch 139 cases ; +0x24, 0xa24f00 CMP W1, #0x8A ; +0x28, 0xa24f04 B.LS loc_A24F2C ; +0x2c, 0xa24f08 FMOV S0, WZR; jumptable 0000000000A24F40 default case, cases 8-12,17-21,26-30,35-39,44-48,53-57,62-66,71-75,80-84,89-93,98-102,107-111,116-135 ; +0x30, 0xa24f0c MOV X0, X8; this ; +0x34, 0xa24f10 STR X8, [X29,#0x20+var_8] ; +0x38, 0xa24f14 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x3c, 0xa24f18 LDR X8, [X29,#0x20+var_8] ; +0x40, 0xa24f1c LDP X29, X30, [SP+0x20+var_20],#0x20 ; +0x44, 0xa24f20 MOV X0, X8 ; +0x48, 0xa24f24 RET ; +0x4c, 0xa24f28 ADRL X0, jpt_A24F40 ; +0x50, 0xa24f2c LDRB W0, [X0,W1,UXTW] ; +0x58, 0xa24f34 ADR X1, loc_A24F44; jumptable 0000000000A24F40 cases 4-7,13-16,22-25,31-34,40-43,49-52,58-61,67-70,76-79,85-88,94-97,103-106,112-115,136-142 ; +0x5c, 0xa24f38 ADD X0, X1, W0,SXTB#2 ; +0x60, 0xa24f3c BR X0; switch jump ; +0x64, 0xa24f40 MOV X0, X8; jumptable 0000000000A24F40 cases 4-7,13-16,22-25,31-34,40-43,49-52,58-61,67-70,76-79,85-88,94-97,103-106,112-115,136-142 ; +0x68, 0xa24f44 STR X8, [X29,#0x20+var_8] ; +0x6c, 0xa24f48 FMOV S0, #1.0; float ; +0x70, 0xa24f4c BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x74, 0xa24f50 LDR X8, [X29,#0x20+var_8] ; +0x78, 0xa24f54 LDP X29, X30, [SP+0x20+var_20],#0x20 ; +0x7c, 0xa24f58 MOV X0, X8 ; +0x80, 0xa24f5c RET ; +0x84, 0xa24f60 LDR S1, =0xBF4CCCCD ; +0x88, 0xa24f64 B loc_A24F00 ; +0x8c, 0xa24f68