// // GJBaseGameLayer::resetAreaObjectValues from 0x100290d14 to 0x100290f6c (600 bytes) // // 14 xrefs: // > GJBaseGameLayer::processAreaEffects @ 0x1002906bc // > GJBaseGameLayer::processAreaTransformGroupAction @ 0x1002910c8 // > GJBaseGameLayer::processAreaRotateGroupAction @ 0x1002914c8 // > GJBaseGameLayer::processAreaMoveGroupAction @ 0x100291878 // > GJBaseGameLayer::processAreaMoveGroupAction @ 0x100291c0c // > GJBaseGameLayer::processAreaMoveGroupAction @ 0x100291cc4 // > GJBaseGameLayer::processAreaActions @ 0x100292614 // > GJBaseGameLayer::resetStoppedAreaObjects @ 0x100292794 // > GJBaseGameLayer::transformAreaObjects @ 0x100292a98 // > GJBaseGameLayer::transformAreaObjects @ 0x100292bdc // > GJBaseGameLayer::transformAreaObjects @ 0x100292cd8 // > GJBaseGameLayer::rotateAreaObjects @ 0x100292fa4 // > GJBaseGameLayer::rotateAreaObjects @ 0x100293120 // > GJBaseGameLayer::rotateAreaObjects @ 0x1002931b4 // // 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:02:03 +0000 // bool __fastcall GJBaseGameLayer::resetAreaObjectValues(_DWORD *a1, __int64 a2, int a3) { int v3; // w8 char v4; // w22 float32x2_t *v7; // x23 float v8; // s0 _BOOL8 v9; // x21 float v10; // s0 float32x2_t v11; // d0 float v12; // s1 float v13; // s0 int v14; // w8 int v15; // w8 _QWORD *v16; // x0 __int64 v18; // [xsp+8h] [xbp-38h] BYREF v3 = a1[236]; if ( *(_DWORD *)(a2 + 1240) >= v3 ) return 0; v4 = a3; v7 = (float32x2_t *)(a2 + 692); if ( a3 && (*(_BYTE *)(a2 + 1290) & 1) == 0 ) { if ( *(_DWORD *)(a2 + 1236) != v3 ) { *(float32x2_t *)(a2 + 1224) = vcvt_f32_f64(*(float64x2_t *)(a2 + 944)); *(_DWORD *)(a2 + 1236) = v3; sub_1002F7D6C(a2); v3 = a1[236]; } if ( *(_DWORD *)(a2 + 1244) != v3 ) { v7[37] = *(float32x2_t *)(a2 + 1152); *(_DWORD *)(a2 + 1244) = v3; sub_1002F7D6C(a2); } } v8 = *(float *)(a2 + 668); v9 = v8 != 0.0; if ( v8 != 0.0 ) { *(double *)(a2 + 944) = *(double *)(a2 + 944) - v8; *(_DWORD *)(a2 + 668) = 0; *(_BYTE *)(a2 + 842) = 1; } v10 = *(float *)(a2 + 672); if ( v10 != 0.0 ) { *(double *)(a2 + 952) = *(double *)(a2 + 952) - v10; *(_DWORD *)(a2 + 672) = 0; v9 = 1; *(_BYTE *)(a2 + 842) = 1; } v11 = v7[1]; if ( v11.f32[0] != 0.0 || v11.f32[1] != 0.0 ) { *v7 = vsub_f32(*v7, v11); *(float32x2_t *)(a2 + 1152) = vsub_f32(*(float32x2_t *)(a2 + 1152), v11); v7[1] = 0; if ( (v4 & 1) == 0 ) (*(void (__fastcall **)(__int64, float))(*(_QWORD *)a2 + 1456LL))(a2, 1.0); } v12 = *(float *)(a2 + 680); v13 = *(float *)(a2 + 688); if ( v12 != 0.0 || v13 != 0.0 ) { *(float *)(a2 + 676) = *(float *)(a2 + 676) - v12; *(_DWORD *)(a2 + 680) = 0; *(float *)(a2 + 684) = *(float *)(a2 + 684) - v13; *(_DWORD *)(a2 + 688) = 0; if ( (v4 & 1) == 0 ) { (*(void (__fastcall **)(__int64, float))(*(_QWORD *)a2 + 1480LL))(a2, 0.0); v14 = a1[236]; *(_DWORD *)(a2 + 1240) = v14; goto LABEL_26; } *(_DWORD *)(a2 + 1240) = a1[236]; LABEL_23: v18 = a2; v15 = a1[891]; v16 = a1 + 850; if ( a1[896] <= v15 ) { sub_100011A50((__int64)v16, &v18); ++a1[896]; v15 = a1[891]; } else { *(_QWORD *)(*v16 + 8LL * v15) = a2; } a1[891] = v15 + 1; return v9; } v14 = a1[236]; *(_DWORD *)(a2 + 1240) = v14; if ( (v4 & 1) != 0 ) goto LABEL_23; LABEL_26: if ( (*(_BYTE *)(a2 + 1290) & 1) == 0 ) { if ( *(_DWORD *)(a2 + 1236) != v14 ) { *(float32x2_t *)(a2 + 1224) = vcvt_f32_f64(*(float64x2_t *)(a2 + 944)); *(_DWORD *)(a2 + 1236) = v14; sub_1002F7D6C(a2); v14 = a1[236]; } if ( *(_DWORD *)(a2 + 1244) != v14 ) { v7[37] = *(float32x2_t *)(a2 + 1152); *(_DWORD *)(a2 + 1244) = v14; sub_1002F7D6C(a2); } } return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source