; ; CCCounterLabel::updateString from 0x574930 to 0x574aa8 (376 bytes) ; ; 4 xrefs: ; > CCCounterLabel::updateCounter @ 0x574af8 ; > CCCounterLabel::updateCounter @ 0x574b2c ; > CCCounterLabel::fastUpdateCounter @ 0x574b40 ; > @ 0x69eb8 ; ; 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, 0x574930 MOV X29, SP ; +0x4, 0x574934 STP X19, X20, [SP,#0x50+var_40] ; +0x8, 0x574938 ADRP X19, #__stack_chk_guard_ptr@PAGE ; +0xc, 0x57493c MOV X20, X0 ; +0x10, 0x574940 STR X21, [SP,#0x50+var_30] ; +0x14, 0x574944 LDR X0, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x18, 0x574948 LDR W1, [X20,#0x1FC] ; +0x1c, 0x57494c LDR X0, [X0] ; +0x20, 0x574950 CMP W1, #1 ; +0x24, 0x574954 STR X0, [X29,#0x50+var_8] ; +0x28, 0x574958 B.EQ loc_5749BC ; +0x2c, 0x57495c LDR X1, [X20]; int ; +0x30, 0x574960 ADD X8, X29, #0x50+var_10 ; +0x34, 0x574964 LDR W0, [X20,#0x1EC]; this ; +0x38, 0x574968 LDR X21, [X1,#0x390] ; +0x3c, 0x57496c BL _ZN11GameToolbox11intToStringEi; GameToolbox::intToString(int) ; +0x40, 0x574970 LDR X1, [X29,#0x50+var_10] ; +0x44, 0x574974 MOV X0, X20 ; +0x48, 0x574978 BLR X21 ; +0x4c, 0x57497c ADRP X1, #off_122EFE8@PAGE ; +0x50, 0x574980 LDR X2, [X29,#0x50+var_10] ; +0x54, 0x574984 SUB X0, X2, #0x18; p ; +0x58, 0x574988 LDR X1, [X1,#off_122EFE8@PAGEOFF]; qword_124B6B0 ; +0x5c, 0x57498c CMP X0, X1 ; +0x60, 0x574990 B.NE loc_5749F8 ; +0x64, 0x574994 LDR X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x68, 0x574998 LDR X1, [X29,#0x50+var_8] ; +0x6c, 0x57499c LDR X0, [X19] ; +0x70, 0x5749a0 CMP X1, X0 ; +0x74, 0x5749a4 B.NE loc_574A3C ; +0x78, 0x5749a8 LDP X19, X20, [SP,#0x50+var_40] ; +0x7c, 0x5749ac LDR X21, [SP,#0x50+var_30] ; +0x80, 0x5749b0 LDP X29, X30, [SP+0x50+var_50],#0x50 ; +0x84, 0x5749b4 RET ; +0x88, 0x5749b8 LDR W1, [X20,#0x1EC]; char * ; +0x8c, 0x5749bc ADRP X0, #a2f_0@PAGE; "%.2f" ; +0x90, 0x5749c0 LDR S1, =0x42C80000 ; +0x94, 0x5749c4 ADD X0, X0, #a2f_0@PAGEOFF; "%.2f" ; +0x98, 0x5749c8 SCVTF S0, W1 ; +0x9c, 0x5749cc FDIV S0, S0, S1 ; +0xa0, 0x5749d0 FCVT D0, S0 ; +0xa4, 0x5749d4 BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0xa8, 0x5749d8 LDR X1, [X20] ; +0xac, 0x5749dc LDR X21, [X1,#0x390] ; +0xb0, 0x5749e0 BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0xb4, 0x5749e4 MOV X1, X0 ; +0xb8, 0x5749e8 MOV X0, X20 ; +0xbc, 0x5749ec BLR X21 ; +0xc0, 0x5749f0 B loc_574998 ; +0xc4, 0x5749f4 ADRP X1, #pthread_create_ptr_0@PAGE ; +0xc8, 0x5749f8 LDR X1, [X1,#pthread_create_ptr_0@PAGEOFF]; pthread_create ; +0xcc, 0x5749fc CBZ X1, loc_574A2C ; +0xd0, 0x574a00 SUB X2, X2, #8 ; +0xd4, 0x574a04 LDAXR W1, [X2] ; +0xd8, 0x574a08 SUB W3, W1, #1 ; +0xdc, 0x574a0c STLXR W4, W3, [X2] ; +0xe0, 0x574a10 CBNZ W4, loc_574A08 ; +0xe4, 0x574a14 CMP W1, WZR ; +0xe8, 0x574a18 B.GT loc_574998 ; +0xec, 0x574a1c ADD X1, X29, #0x50+var_18 ; +0xf0, 0x574a20 BL j__ZdlPv; operator delete(void *) ; +0xf4, 0x574a24 B loc_574998 ; +0xf8, 0x574a28 LDUR W1, [X2,#-8] ; +0xfc, 0x574a2c SUB W3, W1, #1 ; +0x100, 0x574a30 STUR W3, [X2,#-8] ; +0x104, 0x574a34 B loc_574A18 ; +0x108, 0x574a38 BL .__stack_chk_fail ; +0x10c, 0x574a3c ADRP X1, #off_122EFE8@PAGE ; +0x110, 0x574a40 LDR X2, [X29,#0x50+var_10] ; +0x114, 0x574a44 MOV X19, X0 ; +0x118, 0x574a48 SUB X0, X2, #0x18; p ; +0x11c, 0x574a4c LDR X1, [X1,#off_122EFE8@PAGEOFF]; qword_124B6B0 ; +0x120, 0x574a50 CMP X0, X1 ; +0x124, 0x574a54 B.NE loc_574A64 ; +0x128, 0x574a58 MOV X0, X19 ; +0x12c, 0x574a5c BL _Unwind_Resume ; +0x130, 0x574a60 ADRP X1, #pthread_create_ptr_0@PAGE ; +0x134, 0x574a64 ADD X3, X0, #0x10 ; +0x138, 0x574a68 LDR X1, [X1,#pthread_create_ptr_0@PAGEOFF]; pthread_create ; +0x13c, 0x574a6c CBZ X1, loc_574A98 ; +0x140, 0x574a70 LDAXR W1, [X3] ; +0x144, 0x574a74 SUB W2, W1, #1 ; +0x148, 0x574a78 STLXR W4, W2, [X3] ; +0x14c, 0x574a7c CBNZ W4, loc_574A74 ; +0x150, 0x574a80 CMP W1, WZR ; +0x154, 0x574a84 B.GT loc_574A5C ; +0x158, 0x574a88 ADD X1, X29, #0x50+var_18 ; +0x15c, 0x574a8c BL j__ZdlPv; operator delete(void *) ; +0x160, 0x574a90 B loc_574A5C ; +0x164, 0x574a94 LDUR W1, [X2,#-8] ; +0x168, 0x574a98 SUB W3, W1, #1 ; +0x16c, 0x574a9c STUR W3, [X2,#-8] ; +0x170, 0x574aa0 B loc_574A84 ; +0x174, 0x574aa4