; ; ColorSelectLiveOverlay::updateColorLabel from 0x90b0e8 to 0x90b308 (544 bytes) ; ; 3 xrefs: ; > ColorSelectLiveOverlay::init @ 0x90c058 ; > ColorSelectLiveOverlay::onSelectTab @ 0x90c3b0 ; > @ 0x9e280 ; ; 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_70]! ; +0x0, 0x90b0e8 MOV X29, SP ; +0x4, 0x90b0ec STP X21, X22, [SP,#0x70+var_50] ; +0x8, 0x90b0f0 ADRP X21, #__stack_chk_guard_ptr@PAGE ; +0xc, 0x90b0f4 LDRB W2, [X0,#0x338] ; +0x10, 0x90b0f8 STP X19, X20, [SP,#0x70+var_60] ; +0x14, 0x90b0fc MOV X19, X0 ; +0x18, 0x90b100 LDR X0, [X0,#0x290] ; +0x1c, 0x90b104 LDR X1, [X21,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x90b108 CMP W2, WZR ; +0x24, 0x90b10c STP X23, X24, [SP,#0x70+var_40] ; +0x28, 0x90b110 LDR X20, [X19,#0x298] ; +0x2c, 0x90b114 LDR X1, [X1] ; +0x30, 0x90b118 STR X1, [X29,#0x70+var_8] ; +0x34, 0x90b11c CSEL X20, X20, X0, NE ; +0x38, 0x90b120 CBZ X20, loc_90B248 ; +0x3c, 0x90b124 LDR W22, [X20,#0x5C] ; +0x40, 0x90b128 CMP W22, WZR ; +0x44, 0x90b12c B.LE loc_90B228 ; +0x48, 0x90b130 ADD X23, X29, #0x70+var_10 ; +0x4c, 0x90b134 ADD X24, X29, #0x70+var_18 ; +0x50, 0x90b138 ADRP X1, #byte_F288A0@PAGE ; +0x54, 0x90b13c MOV X0, X23; int ; +0x58, 0x90b140 ADD X1, X1, #byte_F288A0@PAGEOFF; char * ; +0x5c, 0x90b144 MOV X2, X24 ; +0x60, 0x90b148 BL sub_D153B8 ; +0x64, 0x90b14c CMP W22, #0x3E7 ; +0x68, 0x90b150 B.LE loc_90B200 ; +0x6c, 0x90b154 MOV W0, W22; this ; +0x70, 0x90b158 BL _ZN20GJSpecialColorSelect15textForColorIdxEi; GJSpecialColorSelect::textForColorIdx(int) ; +0x74, 0x90b15c STR X0, [X29,#0x70+var_28] ; +0x78, 0x90b160 BL .strlen ; +0x7c, 0x90b164 LDR X1, [X29,#0x70+var_28] ; +0x80, 0x90b168 MOV X2, X0 ; +0x84, 0x90b16c MOV X0, X23 ; +0x88, 0x90b170 BL sub_D1798C ; +0x8c, 0x90b174 LDR X2, [X19,#0x330] ; +0x90, 0x90b178 LDR X1, [X29,#0x70+var_10] ; +0x94, 0x90b17c MOV X0, X2 ; +0x98, 0x90b180 LDR X2, [X2] ; +0x9c, 0x90b184 LDR X2, [X2,#0x390] ; +0xa0, 0x90b188 BLR X2 ; +0xa4, 0x90b18c CBZ X20, loc_90B1C0 ; +0xa8, 0x90b190 CMP W22, #0x3EC ; +0xac, 0x90b194 B.LE loc_90B218 ; +0xb0, 0x90b198 CMP W22, #0x3F1 ; +0xb4, 0x90b19c B.EQ loc_90B218 ; +0xb8, 0x90b1a0 B.LT loc_90B1B4 ; +0xbc, 0x90b1a4 SUB W22, W22, #0x3F5 ; +0xc0, 0x90b1a8 CMP W22, #1 ; +0xc4, 0x90b1ac B.LS loc_90B218 ; +0xc8, 0x90b1b0 MOV X0, X19; this ; +0xcc, 0x90b1b4 MOV W1, #0; bool ; +0xd0, 0x90b1b8 BL _ZN22ColorSelectLiveOverlay14toggleControlsEb; ColorSelectLiveOverlay::toggleControls(bool) ; +0xd4, 0x90b1bc ADRP X1, #off_122EFE8@PAGE ; +0xd8, 0x90b1c0 LDR X2, [X29,#0x70+var_10] ; +0xdc, 0x90b1c4 SUB X0, X2, #0x18; p ; +0xe0, 0x90b1c8 LDR X1, [X1,#off_122EFE8@PAGEOFF]; qword_124B6B0 ; +0xe4, 0x90b1cc CMP X0, X1 ; +0xe8, 0x90b1d0 B.NE loc_90B258 ; +0xec, 0x90b1d4 LDR X21, [X21,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0xf0, 0x90b1d8 LDR X1, [X29,#0x70+var_8] ; +0xf4, 0x90b1dc LDR X0, [X21] ; +0xf8, 0x90b1e0 CMP X1, X0 ; +0xfc, 0x90b1e4 B.NE loc_90B29C ; +0x100, 0x90b1e8 LDP X19, X20, [SP,#0x70+var_60] ; +0x104, 0x90b1ec LDP X21, X22, [SP,#0x70+var_50] ; +0x108, 0x90b1f0 LDP X23, X24, [SP,#0x70+var_40] ; +0x10c, 0x90b1f4 LDP X29, X30, [SP+0x70+var_70],#0x70 ; +0x110, 0x90b1f8 RET ; +0x114, 0x90b1fc ADRP X0, #(aSongidI+8)@PAGE; "%i" ; +0x118, 0x90b200 MOV W1, W22; char * ; +0x11c, 0x90b204 ADD X0, X0, #(aSongidI+8)@PAGEOFF; this ; +0x120, 0x90b208 BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x124, 0x90b20c BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x128, 0x90b210 B loc_90B160 ; +0x12c, 0x90b214 MOV X0, X19; this ; +0x130, 0x90b218 MOV W1, #1; bool ; +0x134, 0x90b21c BL _ZN22ColorSelectLiveOverlay14toggleControlsEb; ColorSelectLiveOverlay::toggleControls(bool) ; +0x138, 0x90b220 B loc_90B1C0 ; +0x13c, 0x90b224 LDR X2, [X19,#0x330] ; +0x140, 0x90b228 ADRL X1, (aWarning_0+8); " " ; +0x144, 0x90b22c MOV X0, X2 ; +0x14c, 0x90b234 LDR X2, [X2] ; +0x150, 0x90b238 LDR X2, [X2,#0x390] ; +0x154, 0x90b23c BLR X2 ; +0x158, 0x90b240 B loc_90B1D8 ; +0x15c, 0x90b244 LDR X0, [X19,#0x278] ; +0x160, 0x90b248 CBZ X0, loc_90B228 ; +0x164, 0x90b24c LDR W22, [X0,#0x3F0] ; +0x168, 0x90b250 B loc_90B12C ; +0x16c, 0x90b254 ADRP X1, #pthread_create_ptr_0@PAGE ; +0x170, 0x90b258 LDR X1, [X1,#pthread_create_ptr_0@PAGEOFF]; pthread_create ; +0x174, 0x90b25c CBZ X1, loc_90B28C ; +0x178, 0x90b260 SUB X2, X2, #8 ; +0x17c, 0x90b264 LDAXR W1, [X2] ; +0x180, 0x90b268 SUB W3, W1, #1 ; +0x184, 0x90b26c STLXR W4, W3, [X2] ; +0x188, 0x90b270 CBNZ W4, loc_90B268 ; +0x18c, 0x90b274 CMP W1, WZR ; +0x190, 0x90b278 B.GT loc_90B1D8 ; +0x194, 0x90b27c MOV X1, X24 ; +0x198, 0x90b280 BL j__ZdlPv; operator delete(void *) ; +0x19c, 0x90b284 B loc_90B1D8 ; +0x1a0, 0x90b288 LDUR W1, [X2,#-8] ; +0x1a4, 0x90b28c SUB W3, W1, #1 ; +0x1a8, 0x90b290 STUR W3, [X2,#-8] ; +0x1ac, 0x90b294 B loc_90B278 ; +0x1b0, 0x90b298 BL .__stack_chk_fail ; +0x1b4, 0x90b29c ADRP X1, #off_122EFE8@PAGE ; +0x1b8, 0x90b2a0 LDR X2, [X29,#0x70+var_10] ; +0x1bc, 0x90b2a4 MOV X19, X0 ; +0x1c0, 0x90b2a8 SUB X0, X2, #0x18; p ; +0x1c4, 0x90b2ac LDR X1, [X1,#off_122EFE8@PAGEOFF]; qword_124B6B0 ; +0x1c8, 0x90b2b0 CMP X0, X1 ; +0x1cc, 0x90b2b4 B.NE loc_90B2C4 ; +0x1d0, 0x90b2b8 MOV X0, X19 ; +0x1d4, 0x90b2bc BL _Unwind_Resume ; +0x1d8, 0x90b2c0 ADRP X1, #pthread_create_ptr_0@PAGE ; +0x1dc, 0x90b2c4 ADD X3, X0, #0x10 ; +0x1e0, 0x90b2c8 LDR X1, [X1,#pthread_create_ptr_0@PAGEOFF]; pthread_create ; +0x1e4, 0x90b2cc CBZ X1, loc_90B2F8 ; +0x1e8, 0x90b2d0 LDAXR W1, [X3] ; +0x1ec, 0x90b2d4 SUB W2, W1, #1 ; +0x1f0, 0x90b2d8 STLXR W4, W2, [X3] ; +0x1f4, 0x90b2dc CBNZ W4, loc_90B2D4 ; +0x1f8, 0x90b2e0 CMP W1, WZR ; +0x1fc, 0x90b2e4 B.GT loc_90B2BC ; +0x200, 0x90b2e8 MOV X1, X24 ; +0x204, 0x90b2ec BL j__ZdlPv; operator delete(void *) ; +0x208, 0x90b2f0 B loc_90B2BC ; +0x20c, 0x90b2f4 LDUR W1, [X2,#-8] ; +0x210, 0x90b2f8 SUB W3, W1, #1 ; +0x214, 0x90b2fc STUR W3, [X2,#-8] ; +0x218, 0x90b300 B loc_90B2E4 ; +0x21c, 0x90b304