// // cocos2d::CCSequence::update from 0xd306d4 to 0xd30868 (404 bytes) // // 2 xrefs: // > @ 0x77f38 // > @ 0x15139b8 // // This function is hookable on this platform (idp: arm, 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 13:07:20 +0000 // __int64 __fastcall cocos2d::CCSequence::update(cocos2d::CCSequence *this, float a2) { float v3; // s1 float v4; // s8 int v5; // w20 int v6; // w21 bool v7; // zf __int64 v8; // x20 __int64 result; // x0 __int64 v10; // x1 v3 = *((float *)this + 28); if ( v3 > a2 ) { if ( v3 == 0.0 ) v4 = 1.0; else v4 = a2 / v3; v5 = *((_DWORD *)this + 29); if ( v5 != 1 ) { v6 = 0; goto LABEL_6; } v6 = 0; (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 13) + 40LL))(*((_QWORD *)this + 13), 0.0); v10 = *((_QWORD *)this + 13); LABEL_14: (*(void (__fastcall **)(__int64))(*(_QWORD *)v10 + 96LL))(v10); v8 = v6; if ( v6 != *((_DWORD *)this + 29) ) goto LABEL_7; goto LABEL_15; } v4 = 1.0; if ( v3 == 1.0 ) { v5 = *((_DWORD *)this + 29); if ( v5 != -1 ) goto LABEL_12; LABEL_21: v6 = 1; (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 12) + 88LL))( *((_QWORD *)this + 12), *((_QWORD *)this + 8)); goto LABEL_13; } v5 = *((_DWORD *)this + 29); v4 = (float)(a2 - v3) / (float)(1.0 - v3); if ( v5 == -1 ) goto LABEL_21; LABEL_12: v6 = 1; if ( !v5 ) { LABEL_13: (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 12) + 40LL))(*((_QWORD *)this + 12), 1.0); v10 = *((_QWORD *)this + 12); goto LABEL_14; } LABEL_6: v7 = v6 == v5; v8 = v6; if ( !v7 ) { LABEL_7: (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + v8 + 12) + 88LL))( *((_QWORD *)this + v8 + 12), *((_QWORD *)this + 8)); LABEL_8: result = (*(__int64 (__fastcall **)(_QWORD, float))(**((_QWORD **)this + v8 + 12) + 40LL))( *((_QWORD *)this + v8 + 12), v4); *((_DWORD *)this + 29) = v6; return result; } LABEL_15: result = (*(unsigned __int8 (__fastcall **)(_QWORD))(**((_QWORD **)this + v8 + 12) + 80LL))(*((_QWORD *)this + v8 + 12)); if ( !(_BYTE)result ) { if ( *((_DWORD *)this + 29) == v6 ) goto LABEL_8; goto LABEL_7; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source