// // cocos2d::extension::CCControlStepper::update from 0x10038da30 to 0x10038dab3 (131 bytes) // // 1 xrefs: // > @ 0x100b2f158 // // 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 12:29:12 +0000 // __int64 __fastcall cocos2d::extension::CCControlStepper::update(__int64 a1) { int v1; // eax __int64 result; // rax double v3; // xmm0_8 v1 = *(_DWORD *)(a1 + 552); *(_DWORD *)(a1 + 552) = v1 + 1; if ( v1 > 10 || (result = (unsigned int)(-3 * ((v1 + 1) / 3) + v1 + 1), !(_DWORD)result) ) { result = *(unsigned int *)(a1 + 548); if ( (_DWORD)result == 1 ) { v3 = *(double *)(a1 + 504) + *(double *)(a1 + 536); return (*(__int64 (__fastcall **)(__int64, _QWORD, double))(*(_QWORD *)a1 + 1408LL))( a1, *(unsigned __int8 *)(a1 + 512), v3); } if ( !(_DWORD)result ) { v3 = *(double *)(a1 + 504) - *(double *)(a1 + 536); return (*(__int64 (__fastcall **)(__int64, _QWORD, double))(*(_QWORD *)a1 + 1408LL))( a1, *(unsigned __int8 *)(a1 + 512), v3); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source