// // GJBaseGameLayer::updateSavePositionObjects from 0x1002872c8 to 0x100287404 (316 bytes) // // 1 xrefs: // > GJBaseGameLayer::update @ 0x10029af18 // // This function is hookable on this platform (idp: arm, 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 11:01:58 +0000 // float __fastcall GJBaseGameLayer::updateSavePositionObjects(__int64 LastPosition) { __int64 v1; // x19 int v2; // w8 unsigned int v3; // w9 unsigned int v4; // w8 __int64 *v5; // x22 int v6; // w8 int v7; // w26 __int64 v8; // x21 int v9; // w21 __int64 v10; // x0 int v11; // w8 __int64 v12; // x10 float result; // s0 int v14; // [xsp+0h] [xbp-50h] BYREF int *v15; // [xsp+8h] [xbp-48h] BYREF v1 = LastPosition; v2 = *(_DWORD *)(LastPosition + 960); if ( !v2 ) { v4 = *(_DWORD *)(LastPosition + 964); LABEL_5: *(_DWORD *)(LastPosition + 960) = v4; ++*(_DWORD *)(LastPosition + 1140); v5 = *(__int64 **)(LastPosition + 13248); if ( !v5 ) return result; while ( 1 ) { v6 = *((_DWORD *)v5 + 4); v7 = *((_DWORD *)v5 + 5); v14 = v6; if ( v6 < 1 ) { if ( v6 == -3 ) { v9 = *(_DWORD *)(v1 + 1144); LastPosition = v1 + 1204; } else { if ( v6 == -2 ) { v10 = *(_QWORD *)(v1 + 3264); } else { if ( v6 != -1 ) { v9 = 0; goto LABEL_16; } v10 = *(_QWORD *)(v1 + 3256); } v9 = *(_DWORD *)(v10 + 1340); LastPosition = GameObject::getLastPosition(v10); } } else { v15 = &v14; v8 = sub_10001A978(v1 + 13192, &v14, (__int64)&unk_100763014, &v15)[3]; LastPosition = GameObject::getLastPosition(v8); v9 = *(_DWORD *)(v8 + 1340); } LABEL_16: v11 = *(_DWORD *)(v1 + 1140) % v7 + v9; v12 = *(_QWORD *)(v1 + 1112); *(_DWORD *)(v12 + 8LL * v11) = *(_DWORD *)LastPosition; result = *(float *)(LastPosition + 4); *(float *)(v12 + 8LL * v11 + 4) = result; v5 = (__int64 *)*v5; if ( !v5 ) return result; } } v3 = v2 + 1000; v4 = *(_DWORD *)(LastPosition + 964); if ( v3 <= v4 ) goto LABEL_5; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source