; ; CustomizeObjectLayer::updateCustomColorLabels from 0x84109c to 0x8411b8 (284 bytes) ; ; 6 xrefs: ; > CustomizeObjectLayer::onUpdateCustomColor @ 0x841634 ; > CustomizeObjectLayer::colorSetupClosed @ 0x841858 ; > CustomizeObjectLayer::onNextColorChannel @ 0x8418e4 ; > CustomizeObjectLayer::updateCurrentSelection @ 0x841968 ; > CustomizeObjectLayer::init @ 0x842edc ; > @ 0x53d48 ; ; 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_50]! ; +0x0, 0x84109c MOV X29, SP ; +0x4, 0x8410a0 STP X19, X20, [SP,#0x50+var_40] ; +0x8, 0x8410a4 ADRP X19, #__stack_chk_guard_ptr@PAGE ; +0xc, 0x8410a8 ADD X20, X29, #0x50+var_10 ; +0x10, 0x8410ac STP X21, X22, [SP,#0x50+var_30] ; +0x14, 0x8410b0 MOV X21, X0 ; +0x18, 0x8410b4 ADRP X0, #(aSongidI+8)@PAGE; "%i" ; +0x1c, 0x8410b8 LDR X2, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x8410bc ADD X0, X0, #(aSongidI+8)@PAGEOFF; this ; +0x24, 0x8410c0 LDR W1, [X21,#0x2D4]; char * ; +0x28, 0x8410c4 LDR X2, [X2] ; +0x2c, 0x8410c8 STR X2, [X29,#0x50+var_8] ; +0x30, 0x8410cc BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x34, 0x8410d0 BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x38, 0x8410d4 MOV X22, X0 ; +0x3c, 0x8410d8 LDR X0, [X21,#0x340]; this ; +0x40, 0x8410dc MOV X1, X22; char * ; +0x44, 0x8410e0 BL _ZN12ButtonSprite9setStringEPKc; ButtonSprite::setString(char const*) ; +0x48, 0x8410e4 LDR X21, [X21,#0x318] ; +0x4c, 0x8410e8 MOV X0, X20; int ; +0x50, 0x8410ec MOV X1, X22; char * ; +0x54, 0x8410f0 ADD X2, X29, #0x50+var_20 ; +0x58, 0x8410f4 BL sub_D153B8 ; +0x5c, 0x8410f8 MOV X0, X21 ; +0x60, 0x8410fc MOV X1, X20 ; +0x64, 0x841100 BL _ZN15CCTextInputNode9setStringESs; CCTextInputNode::setString(std::string) ; +0x68, 0x841104 ADRP X1, #off_122EFE8@PAGE ; +0x6c, 0x841108 LDR X2, [X29,#0x50+var_10] ; +0x70, 0x84110c SUB X0, X2, #0x18; p ; +0x74, 0x841110 LDR X1, [X1,#off_122EFE8@PAGEOFF]; qword_124B6B0 ; +0x78, 0x841114 CMP X0, X1 ; +0x7c, 0x841118 B.NE loc_841144 ; +0x80, 0x84111c LDR X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x84, 0x841120 LDR X1, [X29,#0x50+var_8] ; +0x88, 0x841124 LDR X0, [X19] ; +0x8c, 0x841128 CMP X1, X0 ; +0x90, 0x84112c B.NE loc_841188 ; +0x94, 0x841130 LDP X19, X20, [SP,#0x50+var_40] ; +0x98, 0x841134 LDP X21, X22, [SP,#0x50+var_30] ; +0x9c, 0x841138 LDP X29, X30, [SP+0x50+var_50],#0x50 ; +0xa0, 0x84113c RET ; +0xa4, 0x841140 ADRP X1, #pthread_create_ptr_0@PAGE ; +0xa8, 0x841144 LDR X1, [X1,#pthread_create_ptr_0@PAGEOFF]; pthread_create ; +0xac, 0x841148 CBZ X1, loc_841178 ; +0xb0, 0x84114c SUB X2, X2, #8 ; +0xb4, 0x841150 LDAXR W1, [X2] ; +0xb8, 0x841154 SUB W3, W1, #1 ; +0xbc, 0x841158 STLXR W4, W3, [X2] ; +0xc0, 0x84115c CBNZ W4, loc_841154 ; +0xc4, 0x841160 CMP W1, WZR ; +0xc8, 0x841164 B.GT loc_841120 ; +0xcc, 0x841168 ADD X1, X29, #0x50+var_18 ; +0xd0, 0x84116c BL j__ZdlPv; operator delete(void *) ; +0xd4, 0x841170 B loc_841120 ; +0xd8, 0x841174 LDUR W1, [X2,#-8] ; +0xdc, 0x841178 SUB W3, W1, #1 ; +0xe0, 0x84117c STUR W3, [X2,#-8] ; +0xe4, 0x841180 B loc_841164 ; +0xe8, 0x841184 BL .__stack_chk_fail ; +0xec, 0x841188 ADRP X1, #off_122EFE8@PAGE ; +0xf0, 0x84118c MOV X19, X0 ; +0xf4, 0x841190 LDR X0, [X29,#0x50+var_10] ; +0xf8, 0x841194 LDR X1, [X1,#off_122EFE8@PAGEOFF]; qword_124B6B0 ; +0xfc, 0x841198 SUB X0, X0, #0x18 ; +0x100, 0x84119c CMP X0, X1 ; +0x104, 0x8411a0 B.EQ loc_8411B0 ; +0x108, 0x8411a4 ADD X1, X29, #0x50+var_18 ; +0x10c, 0x8411a8 BL sub_4DC220 ; +0x110, 0x8411ac MOV X0, X19 ; +0x114, 0x8411b0 BL _Unwind_Resume ; +0x118, 0x8411b4