// // sub_1004615B4 from 0x1004615b4 to 0x1004616ac (248 bytes) // // 1 xrefs: // > sub_100460980 @ 0x100460980 // // 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_1004615B4(__int64 a1) { __int64 result; // x0 _BYTE v3[4]; // [xsp+4h] [xbp-1Ch] BYREF _BYTE v4[4]; // [xsp+8h] [xbp-18h] BYREF unsigned int v5; // [xsp+Ch] [xbp-14h] *(_DWORD *)(a1 + 40) = 3; *(_QWORD *)(a1 + 328) = 0; *(_QWORD *)(a1 + 360) = 0; *(_DWORD *)(a1 + 24) = 0; *(_QWORD *)(a1 + 8) = 0; *(_OWORD *)(a1 + 288) = 0u; *(_OWORD *)(a1 + 304) = 0u; *(_DWORD *)(a1 + 272) = 0; *(_DWORD *)(a1 + 376) = 0; *(_DWORD *)(a1 + 392) = 0; result = sub_1004AA0BC(*(_QWORD *)(a1 + 368), v4, 1, 8, 0); if ( !(_DWORD)result ) { if ( (unsigned int)sub_1004C6FE8(v4, "RIFF", 4) ) return 19; result = sub_1004AA0BC(*(_QWORD *)(a1 + 368), v3, 1, 4, 0); if ( !(_DWORD)result ) { if ( (unsigned int)sub_1004C6FE8(v3, "DLS ", 4) ) return 19; *(_DWORD *)(a1 + 272) = 0; *(_DWORD *)(a1 + 396) = 0; result = sub_100460A54(a1, (__int64)v3, v5); if ( !(_DWORD)result ) { if ( *(int *)(a1 + 376) < 1 ) return 19; *(_DWORD *)(a1 + 24) = *(_DWORD *)(a1 + 392); return 0; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source