; ; CCCounterLabel::updateString from 0x140046f60 to 0x140047012 (178 bytes) ; ; 3 xrefs: ; > CCCounterLabel::updateCounter @ 0x140046f42 ; > GJShopLayer::init @ 0x1403b1097 ; > @ 0x14090fa1c ; ; This function is hookable on this platform (idp: pc, 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 11:25:31 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x140046f60 push rdi ; +0x5, 0x140046f65 sub rsp, 50h ; +0x6, 0x140046f66 mov rax, cs:__security_cookie ; +0xa, 0x140046f6a xor rax, rsp ; +0x11, 0x140046f71 mov [rsp+58h+var_18], rax ; +0x14, 0x140046f74 mov rbx, rcx ; +0x19, 0x140046f79 mov edx, [rcx+220h] ; +0x1c, 0x140046f7c cmp dword ptr [rcx+230h], 1 ; +0x22, 0x140046f82 jnz short loc_140046FCC ; +0x29, 0x140046f89 movd xmm0, edx ; +0x2b, 0x140046f8b cvtdq2ps xmm0, xmm0 ; +0x2f, 0x140046f8f divss xmm0, cs:dword_1408357B0 ; +0x32, 0x140046f92 cvtps2pd xmm1, xmm0 ; +0x3a, 0x140046f9a movq rdx, xmm1 ; +0x3d, 0x140046f9d lea rcx, a2f; "%.2f" ; +0x42, 0x140046fa2 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x49, 0x140046fa9 lea rdi, [rbx+168h] ; +0x4f, 0x140046faf mov rbx, [rdi] ; +0x56, 0x140046fb6 mov rcx, rax ; +0x59, 0x140046fb9 call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x5c, 0x140046fbc mov rdx, rax ; +0x62, 0x140046fc2 mov rcx, rdi ; +0x65, 0x140046fc5 call qword ptr [rbx] ; +0x68, 0x140046fc8 jmp short loc_140046FFA ; +0x6a, 0x140046fca lea rcx, [rsp+58h+var_38] ; +0x6c, 0x140046fcc call GameToolbox__intToString ; +0x71, 0x140046fd1 mov rdx, rax ; +0x76, 0x140046fd6 cmp qword ptr [rax+18h], 0Fh ; +0x79, 0x140046fd9 jbe short loc_140046FE3 ; +0x7e, 0x140046fde mov rdx, [rax] ; +0x80, 0x140046fe0 lea rcx, [rbx+168h] ; +0x83, 0x140046fe3 mov rax, [rcx] ; +0x8a, 0x140046fea call qword ptr [rax] ; +0x8d, 0x140046fed nop ; +0x8f, 0x140046fef lea rcx, [rsp+58h+var_38] ; +0x90, 0x140046ff0 call sub_14003D310 ; +0x95, 0x140046ff5 mov rcx, [rsp+58h+var_18] ; +0x9a, 0x140046ffa xor rcx, rsp; StackCookie ; +0x9f, 0x140046fff call __security_check_cookie ; +0xa2, 0x140047002 mov rbx, [rsp+58h+arg_8] ; +0xa7, 0x140047007 add rsp, 50h ; +0xac, 0x14004700c pop rdi ; +0xb0, 0x140047010 retn ; +0xb1, 0x140047011