// // GJBaseGameLayer::moveObjects from 0x1001f91bc to 0x1001f92d0 (276 bytes) // // 4 xrefs: // > GJBaseGameLayer::processMoveActions @ 0x1001f8590 // > GJBaseGameLayer::moveObject @ 0x1001f9344 // > GJBaseGameLayer::processAdvancedFollowAction @ 0x1001f9a7c // > GJBaseGameLayer::processAdvancedFollowAction @ 0x1001fa644 // // 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 __fastcall GJBaseGameLayer::moveObjects(GJBaseGameLayer *a1, cocos2d::CCArray *a2, double a3, double a4, bool a5) { cocos2d::ccArray *data; // x9 __int64 num; // x8 cocos2d::CCObject **arr; // x22 unsigned __int64 v12; // x23 cocos2d::CCObject *v13; // x21 unsigned int m_commandIndex; // w8 if ( a2 ) { a1->m_movedCount += sub_10024A36C(a2); data = a2->data; num = data->num; if ( (_DWORD)num ) { arr = data->arr; v12 = (unsigned __int64)&arr[num - 1]; do { v13 = *arr; if ( !*arr ) break; if ( (BYTE2(v13[23].__vftable) & 1) == 0 ) { m_commandIndex = a1->m_gameState.m_commandIndex; if ( HIDWORD(v13[22].__vftable) != m_commandIndex ) { *(float32x2_t *)&v13[21].m_uOrderOfArrival = vcvt_f32_f64(*(float64x2_t *)&v13[16].m_uOrderOfArrival); HIDWORD(v13[22].__vftable) = m_commandIndex; GameObject::dirtifyObjectRect((GameObject *)v13); } } if ( a3 != 0.0 && (v13[12].m_uUnknown & 1) == 0 ) *(double *)&v13[16].m_uOrderOfArrival = *(double *)&v13[16].m_uOrderOfArrival + a3; if ( a4 != 0.0 ) *(double *)&v13[17].__vftable = *(double *)&v13[17].__vftable + a4; GameObject::dirtifyObjectPos((GameObject *)v13); ((void (__fastcall *)(GJBaseGameLayer *, cocos2d::CCObject *))a1->updateObjectSection)(a1, v13); ++arr; } while ( (unsigned __int64)arr <= v12 ); } ((void (__fastcall *)(GJBaseGameLayer *, cocos2d::CCArray *))a1->updateDisabledObjectsLastPos)(a1, a2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source