// // GJBaseGameLayer::moveObjects from 0x100125ca0 to 0x100125fba (794 bytes) // // 6 xrefs: // > GJBaseGameLayer::processMoveActions @ 0x10012495d // > GJBaseGameLayer::processMoveActions @ 0x100124a21 // > GJBaseGameLayer::moveObject @ 0x100125ff8 // > GJBaseGameLayer::processAdvancedFollowAction @ 0x1001274b7 // > GJBaseGameLayer::processAdvancedFollowAction @ 0x100127a93 // > GJBaseGameLayer::processAdvancedFollowAction @ 0x100128852 // // This function is hookable on this platform (idp: pc, 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 12:24:41 +0000 // void __fastcall GJBaseGameLayer::moveObjects(_DWORD *a1, __int64 a2, double a3, double a4) { unsigned int *v4; // rax __int64 *v5; // r12 unsigned __int64 v6; // r13 __int64 v7; // r15 int v8; // eax __int64 v9; // r15 int v10; // eax __int64 v11; // r15 int v12; // eax __int64 v13; // r15 int v14; // eax if ( a2 ) { a1[3435] += sub_1007FEF90(a2); v4 = *(unsigned int **)(a2 + 56); if ( *v4 ) { v5 = *((__int64 **)v4 + 2); v6 = (unsigned __int64)&v5[*v4 - 1]; if ( a3 == 0.0 ) { if ( a4 == 0.0 ) { do { v13 = *v5; if ( !*v5 ) break; if ( !*(_BYTE *)(v13 + 1290) ) { v14 = a1[236]; if ( *(_DWORD *)(v13 + 1236) != v14 ) { *(_QWORD *)(v13 + 1224) = *(_QWORD *)(v13 + 944); *(_DWORD *)(v13 + 1236) = v14; GameObject::dirtifyObjectRect(v13); } } GameObject::dirtifyObjectPos(v13); (*(void (__fastcall **)(_DWORD *, __int64))(*(_QWORD *)a1 + 1368LL))(a1, v13); ++v5; } while ( (unsigned __int64)v5 <= v6 ); } else { do { v11 = *v5; if ( !*v5 ) break; if ( !*(_BYTE *)(v11 + 1290) ) { v12 = a1[236]; if ( *(_DWORD *)(v11 + 1236) != v12 ) { *(_QWORD *)(v11 + 1224) = *(_QWORD *)(v11 + 944); *(_DWORD *)(v11 + 1236) = v12; GameObject::dirtifyObjectRect(v11); } } *(double *)(v11 + 952) = *(double *)(v11 + 952) + a4; GameObject::dirtifyObjectPos(v11); (*(void (__fastcall **)(_DWORD *, __int64))(*(_QWORD *)a1 + 1368LL))(a1, v11); ++v5; } while ( (unsigned __int64)v5 <= v6 ); } } else if ( a4 == 0.0 ) { do { v9 = *v5; if ( !*v5 ) break; if ( !*(_BYTE *)(v9 + 1290) ) { v10 = a1[236]; if ( *(_DWORD *)(v9 + 1236) != v10 ) { *(_QWORD *)(v9 + 1224) = *(_QWORD *)(v9 + 944); *(_DWORD *)(v9 + 1236) = v10; GameObject::dirtifyObjectRect(v9); } } if ( !*(_BYTE *)(v9 + 708) ) *(double *)(v9 + 944) = *(double *)(v9 + 944) + a3; GameObject::dirtifyObjectPos(v9); (*(void (__fastcall **)(_DWORD *, __int64))(*(_QWORD *)a1 + 1368LL))(a1, v9); ++v5; } while ( (unsigned __int64)v5 <= v6 ); } else { do { v7 = *v5; if ( !*v5 ) break; if ( !*(_BYTE *)(v7 + 1290) ) { v8 = a1[236]; if ( *(_DWORD *)(v7 + 1236) != v8 ) { *(_QWORD *)(v7 + 1224) = *(_QWORD *)(v7 + 944); *(_DWORD *)(v7 + 1236) = v8; GameObject::dirtifyObjectRect(v7); } } if ( !*(_BYTE *)(v7 + 708) ) *(double *)(v7 + 944) = *(double *)(v7 + 944) + a3; *(double *)(v7 + 952) = *(double *)(v7 + 952) + a4; GameObject::dirtifyObjectPos(v7); (*(void (__fastcall **)(_DWORD *, __int64))(*(_QWORD *)a1 + 1368LL))(a1, v7); ++v5; } while ( (unsigned __int64)v5 <= v6 ); } } (*(void (__fastcall **)(_DWORD *, __int64))(*(_QWORD *)a1 + 1376LL))(a1, a2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source