// // cocos2d::CCSequence::update from 0x1003b5ff0 to 0x1003b616b (379 bytes) // // 1 xrefs: // > @ 0x1009298b8 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // local variable allocation has failed, the output may be wrong! void __fastcall cocos2d::CCSequence::update(cocos2d::CCSequence *a1, float a2) { int m_nTag; // xmm1_4 __int64 v4; // xmm2_8 unsigned int m_uReference; // eax unsigned int v6; // r14d cocos2d::CCSequence *v7; // r15 __int64 v8; // xmm0_8 unsigned int v9; // eax __int64 v10; // r15 __int64 v11; // xmm0_8 __int64 v12; // xmm0_8 __int64 v13; // rdi unsigned int v14; // [rsp+0h] [rbp-1Ch] m_nTag = a1[1].cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag; if ( *(float *)&m_nTag <= a2 ) { v4 = 1065353216; if ( *(float *)&m_nTag == 1.0 ) { m_uReference = a1[1].m_uReference; if ( m_uReference ) goto LABEL_4; } else { *(float *)&v11 = (float)(a2 - *(float *)&m_nTag) / (float)(1.0 - *(float *)&m_nTag); v4 = v11; m_uReference = a1[1].m_uReference; if ( m_uReference ) { LABEL_4: v6 = 1; if ( m_uReference == -1 ) { v14 = v4; v7 = a1 + 1; (*((void (__fastcall **)(cocos2d::CCSequence_vtbl *, cocos2d::CCNode *))a1[1].copyWithZone + 11))( a1[1].__vftable, a1->m_pTarget); LABEL_14: v12 = 1065353216; goto LABEL_17; } LABEL_8: v9 = a1[1].m_uReference; if ( v6 == v9 ) goto LABEL_18; LABEL_9: v10 = v6; if ( v6 == v9 ) { LABEL_11: (*(void (__fastcall **)(_QWORD, double))(**((_QWORD **)&a1[1].__vftable + v10) + 40LL))( *((_QWORD *)&a1[1].__vftable + v10), *(double *)&v4); a1[1].m_uReference = v6; return; } LABEL_10: (*(void (__fastcall **)(_QWORD, cocos2d::CCNode *))(**((_QWORD **)&a1[1].__vftable + v10) + 88LL))( *((_QWORD *)&a1[1].__vftable + v10), a1->m_pTarget); v4 = (unsigned int)v4; goto LABEL_11; } } v14 = v4; v7 = a1 + 1; v6 = 1; goto LABEL_14; } if ( *(float *)&m_nTag == 0.0 ) { v4 = 1065353216; v6 = 0; if ( a1[1].m_uReference != 1 ) goto LABEL_8; } else { *(float *)&v8 = a2 / *(float *)&m_nTag; v4 = v8; v6 = 0; if ( a1[1].m_uReference != 1 ) goto LABEL_8; } v14 = v4; v7 = (cocos2d::CCSequence *)((char *)a1 + 104); v6 = 0; v12 = 0; LABEL_17: (*((void (__fastcall **)(cocos2d::CCSequence_vtbl *, double))v7->copyWithZone + 5))(v7->__vftable, *(double *)&v12); (*((void (__fastcall **)(cocos2d::CCSequence_vtbl *))v7->copyWithZone + 12))(v7->__vftable); v4 = v14; v9 = a1[1].m_uReference; if ( v6 != v9 ) goto LABEL_9; LABEL_18: v13 = *((_QWORD *)&a1[1].__vftable + v6); if ( !(*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v13 + 80LL))(v13) ) { v4 = (unsigned int)v4; v10 = v6; if ( v6 == a1[1].m_uReference ) goto LABEL_11; goto LABEL_10; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source