// // cocos2d::CCSequence::update from 0x10021d740 to 0x10021d898 (344 bytes) // // 1 xrefs: // > @ 0x1008fba48 // // 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 11:01:06 +0000 // __int64 __fastcall cocos2d::CCSequence::update(__int64 a1, __n128 a2) { float v3; // s1 float v4; // s8 int v5; // w8 _QWORD *v6; // x21 float v7; // s0 unsigned int v8; // w20 int v9; // w8 __int64 v10; // x0 __int64 result; // x0 __int64 v12; // x0 v3 = *(float *)(a1 + 112); if ( v3 > a2.n128_f32[0] ) { v7 = a2.n128_f32[0] / v3; if ( v3 == 0.0 ) v4 = 1.0; else v4 = v7; if ( *(_DWORD *)(a1 + 116) != 1 ) { v8 = 0; goto LABEL_17; } v8 = 0; v6 = (_QWORD *)(a1 + 104); a2.n128_u32[0] = 0; goto LABEL_15; } v4 = 1.0; if ( v3 != 1.0 ) v4 = (float)(a2.n128_f32[0] - v3) / (float)(1.0 - v3); v5 = *(_DWORD *)(a1 + 116); if ( !v5 ) { v6 = (_QWORD *)(a1 + 96); goto LABEL_14; } if ( v5 == -1 ) { v6 = (_QWORD *)(a1 + 96); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 96) + 88LL))(*(_QWORD *)(a1 + 96), *(_QWORD *)(a1 + 64)); LABEL_14: v8 = 1; a2.n128_u32[0] = 1.0; LABEL_15: (*(void (__fastcall **)(_QWORD, __n128))(*(_QWORD *)*v6 + 40LL))(*v6, a2); (*(void (__fastcall **)(_QWORD))(*(_QWORD *)*v6 + 96LL))(*v6); goto LABEL_17; } v8 = 1; LABEL_17: v9 = *(_DWORD *)(a1 + 116); if ( v8 == v9 ) { v10 = *(_QWORD *)(a1 + 8LL * v8 + 96); result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v10 + 80LL))(v10); if ( (result & 1) != 0 ) return result; v9 = *(_DWORD *)(a1 + 116); } if ( v8 != v9 ) { v12 = *(_QWORD *)(a1 + 8LL * v8 + 96); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v12 + 88LL))(v12, *(_QWORD *)(a1 + 64)); } result = (*(__int64 (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 8LL * v8 + 96) + 40LL))( *(_QWORD *)(a1 + 8LL * v8 + 96), v4); *(_DWORD *)(a1 + 116) = v8; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source