// // cocos2d::CCRepeat::update from 0x1800378a0 to 0x1800379cd (301 bytes) // // 6 xrefs: // > @ 0x1800ef470 // > @ 0x18013e648 // > @ 0x18013e65c // > @ 0x18013e670 // > @ 0x18014cf68 // > @ 0x1801babb8 // // 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:21:35 +0000 // void __fastcall cocos2d::CCRepeat::update(cocos2d::CCRepeat *this, float a2) { float v2; // xmm2_4 __int64 v4; // rcx float v5; // xmm2_4 unsigned int v6; // eax __int64 v7; // rdx __int64 v8; // rbx v2 = *((float *)this + 26); if ( a2 < v2 ) { v8 = *((_QWORD *)this + 14); fmodf((float)*((int *)this + 24) * a2, 1.0); (*(void (__fastcall **)(__int64))(*(_QWORD *)v8 + 32LL))(v8); } else { if ( a2 > v2 ) { do { if ( *((_DWORD *)this + 25) >= *((_DWORD *)this + 24) ) break; (*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 14) + 32LL))(*((_QWORD *)this + 14)); v4 = *((_QWORD *)this + 14); ++*((_DWORD *)this + 25); (*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 88LL))(v4); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 14) + 80LL))( *((_QWORD *)this + 14), *((_QWORD *)this + 8)); v5 = (float)(*(float *)(*((_QWORD *)this + 14) + 80LL) / *((float *)this + 20)) + *((float *)this + 26); *((float *)this + 26) = v5; } while ( a2 > v5 ); } if ( a2 >= 1.0 ) { v6 = *((_DWORD *)this + 25); if ( v6 < *((_DWORD *)this + 24) ) *((_DWORD *)this + 25) = v6 + 1; } if ( !*((_BYTE *)this + 108) ) { v7 = **((_QWORD **)this + 14); if ( *((_DWORD *)this + 25) == *((_DWORD *)this + 24) ) { (*(void (**)(void))(v7 + 32))(); (*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 14) + 88LL))(*((_QWORD *)this + 14)); } else { (*(void (**)(void))(v7 + 32))(); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source