// // sub_A631C from 0xa631c to 0xa63c8 (172 bytes) // // 1 xrefs: // > sub_A35FC @ 0xa35fc // // 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 // __int64 __fastcall sub_A631C(__int64 a1, __int64 a2, unsigned int a3, int a4) { __int64 v5; // x19 unsigned int v7; // w8 int v8; // w21 __int16 v9; // w20 v5 = a1; if ( a4 == 2 ) { v7 = *(_DWORD *)(a1 + 2136); if ( v7 == a3 ) return 0; if ( v7 > a3 ) { a1 = sub_A64D4(); v8 = 1; } else { v8 = 0; } while ( *(_DWORD *)(v5 + 2136) < a3 ) a1 = sub_A3674(v5, 1); if ( !v8 ) { return 0; } else { v9 = *(_WORD *)(v5 + 3048); sub_A6458(a1); *(_WORD *)(v5 + 3048) = v9; return 0; } } else if ( a4 == 256 ) { sub_A64D4(); *(_DWORD *)(v5 + 3068) = a3; *(_DWORD *)(v5 + 3084) = a3; return 0; } else { return 19; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source