; ; CCCounterLabel::updateCounter from 0x140046ee0 to 0x140046f5f (127 bytes) ; ; 1 xrefs: ; > CCCounterLabel::setTargetCount @ 0x140046ec2 ; ; 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 ; cmp byte ptr [rcx+224h], 0 ; +0x0, 0x140046ee0 jz short locret_140046F5E ; +0x7, 0x140046ee7 mov eax, [rcx+21Ch] ; +0x9, 0x140046ee9 mov edx, [rcx+220h] ; +0xf, 0x140046eef cmp edx, eax ; +0x15, 0x140046ef5 jge short loc_140046F13 ; +0x17, 0x140046ef7 movd xmm0, dword ptr [rcx+218h] ; +0x19, 0x140046ef9 sub eax, edx ; +0x21, 0x140046f01 cvtdq2ps xmm0, xmm0 ; +0x23, 0x140046f03 movd xmm2, eax ; +0x26, 0x140046f06 cvtdq2ps xmm2, xmm2 ; +0x2a, 0x140046f0a minss xmm2, xmm0 ; +0x2d, 0x140046f0d jmp short loc_140046F2D ; +0x31, 0x140046f11 jle short loc_140046F47 ; +0x33, 0x140046f13 movd xmm0, dword ptr [rcx+218h] ; +0x35, 0x140046f15 sub eax, edx ; +0x3d, 0x140046f1d cvtdq2ps xmm0, xmm0 ; +0x3f, 0x140046f1f movd xmm2, eax ; +0x42, 0x140046f22 cvtdq2ps xmm2, xmm2 ; +0x46, 0x140046f26 maxss xmm2, xmm0 ; +0x49, 0x140046f29 movd xmm1, edx ; +0x4d, 0x140046f2d cvtdq2ps xmm1, xmm1 ; +0x51, 0x140046f31 addss xmm2, xmm1 ; +0x54, 0x140046f34 cvttss2si eax, xmm2 ; +0x58, 0x140046f38 mov [rcx+220h], eax ; +0x5c, 0x140046f3c jmp CCCounterLabel__updateString ; +0x62, 0x140046f42 cmp byte ptr [rcx+22Ch], 0 ; +0x67, 0x140046f47 mov byte ptr [rcx+224h], 0 ; +0x6e, 0x140046f4e jnz short locret_140046F5E ; +0x75, 0x140046f55 jmp cs:?unscheduleAllSelectors@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::unscheduleAllSelectors(void) ; +0x77, 0x140046f57 retn ; +0x7e, 0x140046f5e