// // sub_1005F0350 from 0x1005f0350 to 0x1005f03b8 (104 bytes) // // 9 xrefs: // > sub_1005EADE4 @ 0x1005eae84 // > sub_1005F298C @ 0x1005f29f4 // > sub_1005F2A68 @ 0x1005f2aec // > sub_1005F2EFC @ 0x1005f2f70 // > sub_1005F8140 @ 0x1005f81f0 // > sub_1005FBF10 @ 0x1005fbf5c // > sub_1005FC000 @ 0x1005fc104 // > sub_1005FC4BC @ 0x1005fc538 // > sub_10062A488 @ 0x10062a558 // // 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_1005F0350(__int64 result, int a2, __int64 a3) { int v5; // w8 __int64 v6; // [xsp+8h] [xbp-18h] BYREF v6 = result; if ( *(_QWORD *)(result + 8) ) { sub_1005F6078(&v6, 0); result = v6; } *(_DWORD *)result = a2; if ( a2 == 1 ) { if ( a3 ) v5 = 255; else v5 = 0; *(_DWORD *)(result + 8) = v5; } else { *(_QWORD *)(result + 8) = a3; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source