// // GJBaseGameLayer::moveObjects from 0x14022dd50 to 0x14022ded0 (384 bytes) // // 9 xrefs: // > GJBaseGameLayer::processMoveActions @ 0x14022d8c6 // > GJBaseGameLayer::processMoveActions @ 0x14022d957 // > GJBaseGameLayer::processAdvancedFollowAction @ 0x140230348 // > GJBaseGameLayer::processAdvancedFollowAction @ 0x14023039f // > GJBaseGameLayer::processAdvancedFollowAction @ 0x1402304b3 // > GJBaseGameLayer::processAdvancedFollowAction @ 0x1402304da // > @ 0x140680b04 // > @ 0x140680b38 // > @ 0x1406cdcc8 // // 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 GJBaseGameLayer::moveObjects(GJBaseGameLayer *a1, cocos2d::CCArray *a2, double a3, double a4, bool a5) { cocos2d::ccArray *data; // rdi __int64 num; // rax cocos2d::CCObject **arr; // rdi cocos2d::CCObject **i; // r14 cocos2d::CCObject *v11; // rdx float v12; // xmm1_4 if ( a2 ) { a1->m_movedCount += cocos2d::CCArray::count(a2); data = a2->data; num = data->num; if ( (_DWORD)num ) { arr = data->arr; for ( i = &arr[num - 1]; arr <= i; ++arr ) { v11 = *arr; if ( !*arr ) break; if ( !BYTE2(v11[23].m_uID) && v11[22].m_nLuaID != a1->m_gameState.m_commandIndex ) { v12 = *(double *)&v11[17].m_uID; *(float *)&v11[22].__vftable = *(double *)&v11[17].__vftable; *((float *)&v11[22].__vftable + 1) = v12; v11[22].m_nLuaID = a1->m_gameState.m_commandIndex; LOWORD(v11[15].m_uIndexInArray) = 257; } if ( a3 != 0.0 && !LOBYTE(v11[12].m_unknown2) ) *(double *)&v11[17].__vftable = a3 + *(double *)&v11[17].__vftable; if ( a4 != 0.0 ) *(double *)&v11[17].m_uID = a4 + *(double *)&v11[17].m_uID; *(_WORD *)((char *)&v11[15].m_uID + 1) = 257; ((void (__fastcall *)(GJBaseGameLayer *))a1->updateObjectSection)(a1); } } a1->updateDisabledObjectsLastPos(a1, a2); } }