; ; ColorSelectLiveOverlay::updateColorLabel from 0xa65838 to 0xa659c0 (392 bytes) ; ; 3 xrefs: ; > ColorSelectLiveOverlay::init @ 0xa66710 ; > ColorSelectLiveOverlay::onSelectTab @ 0xa66af0 ; > @ 0xd02e8 ; ; 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:00:17 +0000 ; STP X29, X30, [SP,#var_70]! ; +0x0, 0xa65838 MOV X29, SP ; +0x4, 0xa6583c STP X21, X22, [SP,#0x70+var_50] ; +0x8, 0xa65840 ADRP X21, #__stack_chk_guard_ptr@PAGE ; +0xc, 0xa65844 STR X23, [SP,#0x70+var_40] ; +0x10, 0xa65848 STP X19, X20, [SP,#0x70+var_60] ; +0x14, 0xa6584c MOV X19, X0 ; +0x18, 0xa65850 LDR X1, [X21,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0xa65854 LDRB W2, [X0,#0x358] ; +0x20, 0xa65858 LDR X20, [X19,#0x2B8] ; +0x24, 0xa6585c LDR X0, [X0,#0x2B0] ; +0x28, 0xa65860 CMP W2, WZR ; +0x2c, 0xa65864 LDR X1, [X1]; int ; +0x30, 0xa65868 STR X1, [X29,#0x70+var_8] ; +0x34, 0xa6586c CSEL X20, X20, X0, NE ; +0x38, 0xa65870 CBZ X20, loc_A65990 ; +0x3c, 0xa65874 LDR W22, [X20,#0x5C] ; +0x40, 0xa65878 CMP W22, WZR ; +0x44, 0xa6587c B.LE loc_A65970 ; +0x48, 0xa65880 STR XZR, [X29,#0x70+var_20] ; +0x4c, 0xa65884 CMP W22, #0x3E7 ; +0x50, 0xa65888 STR XZR, [X29,#0x70+var_18] ; +0x54, 0xa6588c STR XZR, [X29,#0x70+var_10] ; +0x58, 0xa65890 B.LE loc_A65940 ; +0x5c, 0xa65894 MOV W0, W22; this ; +0x60, 0xa65898 BL _ZN20GJSpecialColorSelect15textForColorIdxEi; GJSpecialColorSelect::textForColorIdx(int) ; +0x64, 0xa6589c STR X0, [X29,#0x70+var_28] ; +0x68, 0xa658a0 BL .strlen ; +0x6c, 0xa658a4 ADD X23, X29, #0x70+var_20 ; +0x70, 0xa658a8 LDR X1, [X29,#0x70+var_28]; int ; +0x74, 0xa658ac MOV X2, X0; size_t ; +0x78, 0xa658b0 MOV X0, X23; int ; +0x7c, 0xa658b4 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKcm; std::string::assign(char const*,ulong) ; +0x80, 0xa658b8 LDR X0, [X19,#0x350] ; +0x84, 0xa658bc LDRB W1, [X29,#0x70+var_20] ; +0x88, 0xa658c0 LDR X2, [X0] ; +0x8c, 0xa658c4 LDR X2, [X2,#0x3A0] ; +0x90, 0xa658c8 TBNZ W1, #0, loc_A65968 ; +0x94, 0xa658cc ADD X1, X23, #1 ; +0x98, 0xa658d0 BLR X2 ; +0x9c, 0xa658d4 CBZ X20, loc_A65908 ; +0xa0, 0xa658d8 CMP W22, #0x3EC ; +0xa4, 0xa658dc B.LE loc_A65958 ; +0xa8, 0xa658e0 CMP W22, #0x3F1 ; +0xac, 0xa658e4 B.EQ loc_A65958 ; +0xb0, 0xa658e8 B.LT loc_A658FC ; +0xb4, 0xa658ec SUB W22, W22, #0x3F5 ; +0xb8, 0xa658f0 CMP W22, #1 ; +0xbc, 0xa658f4 B.LS loc_A65958 ; +0xc0, 0xa658f8 MOV X0, X19; this ; +0xc4, 0xa658fc MOV W1, #0; bool ; +0xc8, 0xa65900 BL _ZN22ColorSelectLiveOverlay14toggleControlsEb; ColorSelectLiveOverlay::toggleControls(bool) ; +0xcc, 0xa65904 LDRB W0, [X29,#0x70+var_20] ; +0xd0, 0xa65908 TBZ W0, #0, loc_A65918 ; +0xd4, 0xa6590c LDR X0, [X29,#0x70+var_10]; void * ; +0xd8, 0xa65910 BL _ZdlPv; operator delete(void *) ; +0xdc, 0xa65914 LDR X21, [X21,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0xe0, 0xa65918 LDR X1, [X29,#0x70+var_8] ; +0xe4, 0xa6591c LDR X0, [X21] ; +0xe8, 0xa65920 CMP X1, X0 ; +0xec, 0xa65924 B.NE loc_A659A0 ; +0xf0, 0xa65928 LDP X19, X20, [SP,#0x70+var_60] ; +0xf4, 0xa6592c LDP X21, X22, [SP,#0x70+var_50] ; +0xf8, 0xa65930 LDR X23, [SP,#0x70+var_40] ; +0xfc, 0xa65934 LDP X29, X30, [SP+0x70+var_70],#0x70 ; +0x100, 0xa65938 RET ; +0x104, 0xa6593c ADRP X0, #(aSongidI+8)@PAGE; "%i" ; +0x108, 0xa65940 MOV W1, W22; char * ; +0x10c, 0xa65944 ADD X0, X0, #(aSongidI+8)@PAGEOFF; this ; +0x110, 0xa65948 BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x114, 0xa6594c BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x118, 0xa65950 B loc_A658A0 ; +0x11c, 0xa65954 MOV X0, X19; this ; +0x120, 0xa65958 MOV W1, #1; bool ; +0x124, 0xa6595c BL _ZN22ColorSelectLiveOverlay14toggleControlsEb; ColorSelectLiveOverlay::toggleControls(bool) ; +0x128, 0xa65960 B loc_A65908 ; +0x12c, 0xa65964 LDR X1, [X29,#0x70+var_10] ; +0x130, 0xa65968 B loc_A658D4 ; +0x134, 0xa6596c LDR X2, [X19,#0x350] ; +0x138, 0xa65970 ADRL X1, byte_11E1A70 ; +0x13c, 0xa65974 MOV X0, X2 ; +0x144, 0xa6597c LDR X2, [X2] ; +0x148, 0xa65980 LDR X2, [X2,#0x3A0] ; +0x14c, 0xa65984 BLR X2 ; +0x150, 0xa65988 B loc_A65918 ; +0x154, 0xa6598c LDR X0, [X19,#0x298] ; +0x158, 0xa65990 CBZ X0, loc_A65970 ; +0x15c, 0xa65994 LDR W22, [X0,#0x400] ; +0x160, 0xa65998 B loc_A6587C ; +0x164, 0xa6599c BL .__stack_chk_fail ; +0x168, 0xa659a0 LDRB W1, [X29,#0x70+var_20] ; +0x16c, 0xa659a4 MOV X19, X0 ; +0x170, 0xa659a8 TBZ W1, #0, loc_A659B8 ; +0x174, 0xa659ac LDR X0, [X29,#0x70+var_10]; void * ; +0x178, 0xa659b0 BL _ZdlPv; operator delete(void *) ; +0x17c, 0xa659b4 MOV X0, X19 ; +0x180, 0xa659b8 BL _Unwind_Resume ; +0x184, 0xa659bc