// // sub_180003F20 from 0x180003f20 to 0x180003f6d (77 bytes) // // 2 xrefs: // > sub_180017E70 @ 0x180017e98 // > sub_1800180F0 @ 0x18001824a // // 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 10:52:40 +0000 // __int64 __fastcall sub_180003F20(__int64 a1) { __int64 v1; // rdx if ( !a1 ) return 0xFFFFFFFFLL; if ( !*(_QWORD *)a1 ) return 0xFFFFFFFFLL; v1 = *(_QWORD *)(*(_QWORD *)a1 + 32LL); if ( !v1 ) return 0xFFFFFFFFLL; *(_QWORD *)(a1 + 24) = -1; *(_QWORD *)(a1 + 36) = 0; *(_QWORD *)(a1 + 48) = -1; *(_QWORD *)(a1 + 56) = -1; *(_QWORD *)(a1 + 64) = -1; *(_DWORD *)(a1 + 32) = *(int *)(v1 + 4) >> 1; return 0; }