// // sub_914D0 from 0x914d0 to 0x915a8 (216 bytes) // // 1 xrefs: // > sub_8C1D4 @ 0x8c1d4 // // 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_914D0(__int64 a1, __int64 a2, unsigned int a3, int a4) { __int64 v5; // x19 __int64 v6; // x21 __int64 v7; // x19 __int64 result; // x0 unsigned int v9; // w8 int v10; // w21 __int16 v11; // w20 v5 = a1; if ( a4 == 2 ) { v9 = *(_DWORD *)(a1 + 2136); if ( v9 != a3 ) { if ( v9 > a3 ) { a1 = sub_91ADC(); v10 = 1; } else { v10 = 0; } while ( *(_DWORD *)(v5 + 2136) < a3 ) a1 = sub_8C2B0(v5, 1); if ( v10 ) { v11 = *(_WORD *)(v5 + 3048); sub_91AD4(a1); *(_WORD *)(v5 + 3048) = v11; return 0; } } } else { if ( a4 != 256 ) return 19; sub_91ADC(); v6 = 0; *(_DWORD *)(v5 + 3068) = a3; *(_DWORD *)(v5 + 3084) = a3; v7 = v5 + 17472; while ( v6 != 400 ) { if ( *(_QWORD *)(v7 + v6) ) { result = sub_91A84(); if ( (_DWORD)result ) return result; } v6 += 8; } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source