; ; CCCounterLabel::setTargetCount from 0x1400431a0 to 0x140043221 (129 bytes) ; ; 2 xrefs: ; > GJShopLayer::updateCurrencyCounter @ 0x1402abc9e ; > GJShopLayer::didPurchaseItem @ 0x1402ac6eb ; ; 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 ; movd xmm0, dword ptr [rcx+220h] ; +0x0, 0x1400431a0 mov eax, [rcx+228h] ; +0x8, 0x1400431a8 cvtdq2ps xmm0, xmm0 ; +0xe, 0x1400431ae mov [rcx+21Ch], edx ; +0x11, 0x1400431b1 movd xmm1, edx ; +0x17, 0x1400431b7 cvtdq2ps xmm1, xmm1 ; +0x1b, 0x1400431bb subss xmm1, xmm0 ; +0x1e, 0x1400431be movd xmm0, eax ; +0x22, 0x1400431c2 cvtdq2ps xmm0, xmm0 ; +0x26, 0x1400431c6 movaps xmm2, xmm1 ; +0x29, 0x1400431c9 andps xmm2, cs:xmmword_1406243C0 ; +0x2c, 0x1400431cc comiss xmm0, xmm2 ; +0x33, 0x1400431d3 jbe short loc_1400431DC ; +0x36, 0x1400431d6 cvttss2si eax, xmm2 ; +0x38, 0x1400431d8 cmp byte ptr [rcx+224h], 0 ; +0x3c, 0x1400431dc movd xmm0, eax ; +0x43, 0x1400431e3 cvtdq2ps xmm0, xmm0 ; +0x47, 0x1400431e7 divss xmm1, xmm0 ; +0x4a, 0x1400431ea cvttss2si eax, xmm1 ; +0x4e, 0x1400431ee mov [rcx+218h], eax ; +0x52, 0x1400431f2 jnz short locret_140043220 ; +0x58, 0x1400431f8 cmp byte ptr [rcx+22Ch], 0 ; +0x5a, 0x1400431fa mov byte ptr [rcx+224h], 1 ; +0x61, 0x140043201 jnz short locret_140043220 ; +0x68, 0x140043208 movss xmm2, cs:dword_1406229D4 ; +0x6a, 0x14004320a lea rdx, CCCounterLabel__updateCounter ; +0x72, 0x140043212 jmp cs:?schedule@CCNode@cocos2d@@QEAAXP8CCObject@2@EAAXM@ZM@Z; cocos2d::CCNode::schedule(void (cocos2d::CCObject::*)(float),float) ; +0x79, 0x140043219 retn ; +0x80, 0x140043220