// // cocos2d::CCSequence::update from 0xabe9cc to 0xabeb60 (404 bytes) // // 2 xrefs: // > @ 0x56e68 // > @ 0x11fe0a8 // // 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 // void cocos2d::CCSequence::update(cocos2d::CCSequence *a1, float a2) { int m_nTag; // s1 float v4; // s8 unsigned int m_uReference; // w20 signed int v6; // w21 bool v7; // zf __int64 v8; // x20 cocos2d::CCSequence_vtbl *v9; // x1 m_nTag = a1[1].cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag; if ( *(float *)&m_nTag > a2 ) { if ( *(float *)&m_nTag == 0.0 ) v4 = 1.0; else v4 = a2 / *(float *)&m_nTag; m_uReference = a1[1].m_uReference; if ( m_uReference != 1 ) { v6 = 0; goto LABEL_6; } v6 = 0; (*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)&a1[1].m_uID + 40LL))(*(_QWORD *)&a1[1].m_uID, 0.0); v9 = *(cocos2d::CCSequence_vtbl **)&a1[1].m_uID; LABEL_14: (*((void (__fastcall **)(cocos2d::CCSequence_vtbl *))v9->copyWithZone + 12))(v9); v8 = v6; if ( v6 != a1[1].m_uReference ) goto LABEL_7; goto LABEL_15; } v4 = 1.0; if ( *(float *)&m_nTag == 1.0 ) { m_uReference = a1[1].m_uReference; if ( m_uReference != -1 ) goto LABEL_12; LABEL_21: v6 = 1; (*((void (__fastcall **)(cocos2d::CCSequence_vtbl *, cocos2d::CCNode *))a1[1].copyWithZone + 11))( a1[1].__vftable, a1->m_pTarget); goto LABEL_13; } m_uReference = a1[1].m_uReference; v4 = (float)(a2 - *(float *)&m_nTag) / (float)(1.0 - *(float *)&m_nTag); if ( m_uReference == -1 ) goto LABEL_21; LABEL_12: v6 = 1; if ( !m_uReference ) { LABEL_13: (*((void (__fastcall **)(cocos2d::CCSequence_vtbl *, float))a1[1].copyWithZone + 5))(a1[1].__vftable, 1.0); v9 = a1[1].__vftable; goto LABEL_14; } LABEL_6: v7 = v6 == m_uReference; v8 = v6; if ( !v7 ) { LABEL_7: (*(void (__fastcall **)(_QWORD, cocos2d::CCNode *))(**((_QWORD **)&a1[1].__vftable + v8) + 88LL))( *((_QWORD *)&a1[1].__vftable + v8), a1->m_pTarget); LABEL_8: (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)&a1[1].__vftable + v8) + 40LL))( *((_QWORD *)&a1[1].__vftable + v8), v4); a1[1].m_uReference = v6; return; } LABEL_15: if ( !(*(unsigned __int8 (__fastcall **)(_QWORD))(**((_QWORD **)&a1[1].__vftable + v8) + 80LL))(*((_QWORD *)&a1[1].__vftable + v8)) ) { if ( a1[1].m_uReference == v6 ) goto LABEL_8; goto LABEL_7; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source