; ; CCCounterLabel::updateString from 0x1400432b0 to 0x140043363 (179 bytes) ; ; 3 xrefs: ; > CCCounterLabel::updateCounter @ 0x140043292 ; > GJShopLayer::init @ 0x1402aad71 ; > @ 0x1406c450c ; ; 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 ; mov [rsp+arg_8], rbx ; +0x0, 0x1400432b0 push rdi ; +0x5, 0x1400432b5 sub rsp, 50h ; +0x6, 0x1400432b6 mov rax, cs:__security_cookie ; +0xa, 0x1400432ba xor rax, rsp ; +0x11, 0x1400432c1 mov [rsp+58h+var_18], rax ; +0x14, 0x1400432c4 mov rbx, rcx ; +0x19, 0x1400432c9 mov edx, [rcx+220h] ; +0x1c, 0x1400432cc cmp dword ptr [rcx+230h], 1 ; +0x22, 0x1400432d2 jnz short loc_14004331D ; +0x29, 0x1400432d9 movd xmm0, edx ; +0x2b, 0x1400432db cvtdq2ps xmm0, xmm0 ; +0x2f, 0x1400432df divss xmm0, cs:dword_1406232BC ; +0x32, 0x1400432e2 cvtps2pd xmm1, xmm0 ; +0x3a, 0x1400432ea movq rdx, xmm1 ; +0x3d, 0x1400432ed lea rcx, a2f; "%.2f" ; +0x42, 0x1400432f2 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x49, 0x1400432f9 mov rdi, [rbx+168h] ; +0x4f, 0x1400432ff mov rcx, rax ; +0x56, 0x140043306 call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x59, 0x140043309 mov rdx, rax ; +0x5f, 0x14004330f lea rcx, [rbx+168h] ; +0x62, 0x140043312 call qword ptr [rdi] ; +0x69, 0x140043319 jmp short loc_14004334B ; +0x6b, 0x14004331b lea rcx, [rsp+58h+var_38] ; +0x6d, 0x14004331d call GameToolbox__intToString ; +0x72, 0x140043322 mov rdx, rax ; +0x77, 0x140043327 cmp qword ptr [rax+18h], 0Fh ; +0x7a, 0x14004332a jbe short loc_140043334 ; +0x7f, 0x14004332f mov rdx, [rax] ; +0x81, 0x140043331 lea rcx, [rbx+168h] ; +0x84, 0x140043334 mov rax, [rcx] ; +0x8b, 0x14004333b call qword ptr [rax] ; +0x8e, 0x14004333e nop ; +0x90, 0x140043340 lea rcx, [rsp+58h+var_38] ; +0x91, 0x140043341 call sub_14003A830 ; +0x96, 0x140043346 mov rcx, [rsp+58h+var_18] ; +0x9b, 0x14004334b xor rcx, rsp; StackCookie ; +0xa0, 0x140043350 call __security_check_cookie ; +0xa3, 0x140043353 mov rbx, [rsp+58h+arg_8] ; +0xa8, 0x140043358 add rsp, 50h ; +0xad, 0x14004335d pop rdi ; +0xb1, 0x140043361 retn ; +0xb2, 0x140043362