// // GJBaseGameLayer::processAreaActions from 0x140331c00 to 0x140331e58 (600 bytes) // // 5 xrefs: // > GJBaseGameLayer::processMoveActionsStep @ 0x14033439b // > @ 0x1408b6718 // > @ 0x1408b6768 // > @ 0x1408b6778 // > @ 0x14091f61c // // 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 11:30:32 +0000 // _UNKNOWN **__fastcall GJBaseGameLayer::processAreaActions(__int64 a1, float a2, char a3) { _UNKNOWN **result; // rax int v6; // esi int v7; // ebp __int64 v8; // r14 __int64 v9; // rdi int *v10; // rdi int v11; // ebp int v12; // ecx __int64 v13; // r14 __int64 v14; // rdx __int64 v15; // rdx __int64 v16; // rcx double v17; // xmm0_8 double v18; // xmm1_8 _UNKNOWN *retaddr; // [rsp+68h] [rbp+0h] BYREF __int64 v20; // [rsp+70h] [rbp+8h] BYREF result = &retaddr; if ( !*(_BYTE *)(a1 + 13085) ) { *(_DWORD *)(a1 + 996) = *(_DWORD *)(a1 + 992) - 1; GJBaseGameLayer::processAreaEffects(a1, (__int64 *)(a1 + 1672), 2u, a2, a3); GJBaseGameLayer::processAreaEffects(a1, (__int64 *)(a1 + 1648), 1u, a2, a3); GJBaseGameLayer::processAreaEffects(a1, (__int64 *)(a1 + 1624), 0, a2, a3); v6 = 0; v7 = 0; if ( *(int *)(a1 + 3848) > 0 ) { v8 = 0; while ( 1 ) { v9 = *(_QWORD *)(v8 + *(_QWORD *)(a1 + 3680)); if ( *(_DWORD *)(v9 + 1248) < *(_DWORD *)(a1 + 992) ) break; if ( a3 ) goto LABEL_8; LABEL_9: ++v7; v8 += 8; if ( v7 >= *(_DWORD *)(a1 + 3848) ) goto LABEL_10; } *(_BYTE *)(v9 + 848) = 1; *(_WORD *)(v9 + 872) = 257; if ( GJBaseGameLayer::resetAreaObjectValues(a1, v9, 0) ) (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1216LL))(a1, v9); LABEL_8: (*(void (__fastcall **)(__int64))(*(_QWORD *)v9 + 1328LL))(v9); (*(void (__fastcall **)(__int64))(*(_QWORD *)v9 + 1304LL))(v9); goto LABEL_9; } LABEL_10: result = (_UNKNOWN **)*(unsigned int *)(a1 + 3844); v10 = (int *)(a1 + 3848); v11 = 0; *(_DWORD *)(a1 + 3848) = 0; if ( (int)result > 0 ) { v12 = 0; v13 = 0; do { v14 = *(_QWORD *)(v13 + *(_QWORD *)(a1 + 3656)); v20 = v14; if ( *(_DWORD *)(a1 + 3868) > v12 ) { *(_QWORD *)(*(_QWORD *)(a1 + 3680) + 8LL * v12) = v14; } else { sub_1400BD3C0((const void **)(a1 + 3680), &v20); ++*(_DWORD *)(a1 + 3868); } ++*v10; ++v11; result = (_UNKNOWN **)*(unsigned int *)(a1 + 3844); v13 += 8; v12 = *v10; } while ( v11 < (int)result ); } if ( *(_BYTE *)(a1 + 12905) && (int)result > 0 ) { v15 = 0; do { v15 += 8; ++v6; v16 = *(_QWORD *)(v15 + *(_QWORD *)(a1 + 3656) - 8); v17 = *(double *)(v16 + 952); v18 = *(double *)(v16 + 960); *(_DWORD *)(v16 + 996) = *(_DWORD *)(v16 + 1160); result = (_UNKNOWN **)*(unsigned int *)(v16 + 1164); *(_DWORD *)(v16 + 1000) = (_DWORD)result; *(_WORD *)(v16 + 872) = 257; *(float *)(v16 + 1232) = v17; *(float *)(v16 + 1236) = v18; } while ( v6 < *(_DWORD *)(a1 + 3844) ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source