; ; CCCounterLabel::updateString from 0x3c55cc to 0x3c5668 (156 bytes) ; ; 2 xrefs: ; > CCCounterLabel::updateCounter @ 0x3c56e2 ; > CCCounterLabel::fastUpdateCounter @ 0x3c56f4 ; ; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! ; ; 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 11:46:34 +0000 ; LDR R3, =(__stack_chk_guard_ptr - 0x3C55D4) ; +0x0, 0x3c55cc PUSH {R4-R7,LR} ; +0x2, 0x3c55ce ADD R3, PC; __stack_chk_guard_ptr ; +0x4, 0x3c55d0 LDR R3, [R3]; __stack_chk_guard ; +0x6, 0x3c55d2 SUB SP, SP, #0x14 ; +0x8, 0x3c55d4 MOV R4, R0 ; +0xa, 0x3c55d6 LDR R2, [R3] ; +0xc, 0x3c55d8 MOV R5, R3 ; +0xe, 0x3c55da STR R2, [SP,#0x14+var_8] ; +0x10, 0x3c55dc LDR.W R2, [R0,#0x194] ; +0x12, 0x3c55de CMP R2, #1 ; +0x16, 0x3c55e2 BNE loc_3C5618 ; +0x18, 0x3c55e4 VLDR S15, [R0,#0x184] ; +0x1a, 0x3c55e6 LDR R0, =(a2f - 0x3C55F4); "%.2f" ; +0x1e, 0x3c55ea VLDR S14, =100.0 ; +0x20, 0x3c55ec ADD R0, PC; "%.2f" ; +0x24, 0x3c55f0 VCVT.F32.S32 S15, S15 ; +0x26, 0x3c55f2 VDIV.F32 S15, S15, S14 ; +0x2a, 0x3c55f6 VCVT.F64.F32 D7, S15 ; +0x2e, 0x3c55fa VMOV R2, R3, D7 ; +0x32, 0x3c55fe BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x36, 0x3c5602 LDR R3, [R4] ; +0x3a, 0x3c5606 LDR.W R6, [R3,#0x1D0] ; +0x3c, 0x3c5608 BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x40, 0x3c560c MOV R1, R0 ; +0x44, 0x3c5610 MOV R0, R4 ; +0x46, 0x3c5612 BLX R6 ; +0x48, 0x3c5614 B loc_3C5658 ; +0x4a, 0x3c5616 LDR R3, [R0] ; +0x4c, 0x3c5618 MOV R0, SP; this ; +0x4e, 0x3c561a LDR.W R1, [R4,#0x184]; int ; +0x50, 0x3c561c LDR.W R7, [R3,#0x1D0] ; +0x54, 0x3c5620 BL _ZN11GameToolbox11intToStringEi; GameToolbox::intToString(int) ; +0x58, 0x3c5624 LDRB.W R3, [SP,#0x14+var_14] ; +0x5c, 0x3c5628 MOV R0, R4 ; +0x60, 0x3c562c LDRB.W R6, [SP,#0x14+var_14] ; +0x62, 0x3c562e LSLS R1, R3, #0x1F ; +0x66, 0x3c5632 ITE PL ; +0x68, 0x3c5634 ADDPL.W R1, SP, #0x14+var_13 ; +0x6a, 0x3c5636 LDRMI R1, [SP,#0x14+var_C] ; +0x6e, 0x3c563a BLX R7 ; +0x70, 0x3c563c LSLS R2, R6, #0x1F ; +0x72, 0x3c563e BPL loc_3C5658 ; +0x74, 0x3c5640 LDR R0, [SP,#0x14+var_C]; void * ; +0x76, 0x3c5642 BL _ZdlPv; operator delete(void *) ; +0x78, 0x3c5644 B loc_3C5658 ; +0x7c, 0x3c5648 LSLS R3, R6, #0x1F ; +0x7e, 0x3c564a BPL loc_3C5654 ; +0x80, 0x3c564c LDR R0, [SP,#0x14+var_C]; void * ; +0x82, 0x3c564e BL _ZdlPv; operator delete(void *) ; +0x84, 0x3c5650 BL __cxa_end_cleanup ; +0x88, 0x3c5654 LDR R2, [SP,#0x14+var_8] ; +0x8c, 0x3c5658 LDR R3, [R5] ; +0x8e, 0x3c565a CMP R2, R3 ; +0x90, 0x3c565c BEQ loc_3C5664 ; +0x92, 0x3c565e BLX __stack_chk_fail ; +0x94, 0x3c5660 ADD SP, SP, #0x14 ; +0x98, 0x3c5664 POP {R4-R7,PC} ; +0x9a, 0x3c5666