// // sub_1004325D0 from 0x1004325d0 to 0x1004326a4 (212 bytes) // // 3 xrefs: // > sub_100431E80 @ 0x100431f38 // > SFXBrowser::sfxFoldersPicked @ 0x100433710 // > SFXBrowser::sfxFoldersPicked @ 0x1004338f1 // // 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:30:22 +0000 // __int64 __fastcall sub_1004325D0(__int64 a1) { __int64 result; // rax __int64 v2; // r14 int v3; // r15d __int64 v4; // rax bool v5; // r14 __int64 v6; // rax int v7; // [rsp-24h] [rbp-24h] BYREF if ( *(_QWORD *)(a1 + 936) ) { v7 = HIDWORD(result); result = GameManager::sharedState(); if ( *(_QWORD *)(result + 552) ) { result = *(_QWORD *)(GameManager::sharedState() + 552); if ( *(_QWORD *)(result + 3272) ) { v2 = *(_QWORD *)(*(_QWORD *)(GameManager::sharedState() + 552) + 3272LL); v3 = *(_DWORD *)(v2 + 632); v5 = v3 && (v4 = GameManager::sharedState(), v3 == *(_DWORD *)(v4 + 660) - *(_DWORD *)(v4 + 664)) && *(_QWORD *)(v2 + 656) != 0; v6 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 936) + 1072LL))(*(_QWORD *)(a1 + 936)); if ( v5 ) { BYTE2(v7) = -106; LOWORD(v7) = -106; } else { BYTE2(v7) = -1; LOWORD(v7) = -1; } return (*(__int64 (__fastcall **)(__int64, int *))(*(_QWORD *)v6 + 960LL))(v6, &v7); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source