// // LevelSettingsObject::getCustomSFXPathRaw from 0x1000d9100 to 0x1000d91a9 (169 bytes) // // 3 xrefs: // > SFXBrowser::setupSFXBrowser @ 0x10042fefb // > SFXBrowser::refreshLevelIDList @ 0x1004305d9 // > SetupSFXPopup::createSFXWidget @ 0x1004b2fd4 // // 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 12:20:57 +0000 // _QWORD *__fastcall LevelSettingsObject::getCustomSFXPathRaw(_QWORD *a1, __int64 a2, int a3, int a4) { __int64 *v4; // r8 __int64 *v5; // rsi __int64 *v6; // rax __int64 *v8; // rax v4 = *(__int64 **)(a2 + 592); if ( !v4 ) goto LABEL_13; v5 = (__int64 *)(a2 + 592); v6 = v5; do { if ( *((_DWORD *)v4 + 8) < a4 ) { ++v4; } else if ( *((_DWORD *)v4 + 8) <= a4 ) { if ( *((_DWORD *)v4 + 9) >= a3 ) v6 = v4; v4 += *((_DWORD *)v4 + 9) < a3; } else { v6 = v4; } v4 = (__int64 *)*v4; } while ( v4 ); if ( v6 == v5 || *((_DWORD *)v6 + 8) > a4 || *((_DWORD *)v6 + 8) >= a4 && *((_DWORD *)v6 + 9) > a3 ) { LABEL_13: *(_WORD *)a1 = 0; return a1; } if ( (v6[5] & 1) == 0 ) { v8 = v6 + 5; a1[2] = v8[2]; *(_OWORD *)a1 = *(_OWORD *)v8; return a1; } sub_10001AD30(a1, (const void *)v6[7], v6[6]); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source