// // SFXFolderPickerPopup::onSelectAll from 0x1009725d0 to 0x100972737 (359 bytes) // // 2 xrefs: // > sub_1009739B0 @ 0x100973a08 // > SFXFolderPickerPopup::init @ 0x100972198 // // 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:38:53 +0000 // __int64 __fastcall SFXFolderPickerPopup::onSelectAll(__int64 a1) { __int64 v2; // rdi __int64 v3; // r14 _QWORD *v4; // rsi char v5; // r15 __int64 *v6; // rax int v7; // ecx __int64 *v8; // rax int v9; // ecx _DWORD *v10; // rax __int64 v11; // rdi const char *v12; // r14 __int64 v13; // rax float v15; // [rsp+0h] [rbp-1Ch] v2 = a1 + 704; v3 = a1 + 712; v4 = *(_QWORD **)(a1 + 712); v5 = 1; if ( !v4 ) goto LABEL_14; v6 = *(__int64 **)(a1 + 712); do { v7 = *((_DWORD *)v6 + 7); if ( v7 < 0 ) { if ( v7 == -1 ) { sub_10001ADF0(v2, v4); *(_QWORD *)(a1 + 704) = v3; *(_OWORD *)(a1 + 712) = 0; goto LABEL_16; } ++v6; } v6 = (__int64 *)*v6; } while ( v6 ); v8 = *(__int64 **)(a1 + 712); while ( 1 ) { v9 = *((_DWORD *)v8 + 7); if ( v9 <= 1 ) break; LABEL_8: v8 = (__int64 *)*v8; if ( !v8 ) goto LABEL_14; } if ( v9 != 1 ) { ++v8; goto LABEL_8; } v5 = 0; LABEL_14: sub_10001ADF0(v2, v4); *(_QWORD *)(a1 + 704) = v3; *(_OWORD *)(a1 + 712) = 0; if ( v5 ) { v10 = operator new(0x20u); v10[7] = -1; *(_OWORD *)v10 = 0; *((_QWORD *)v10 + 2) = v3; *(_QWORD *)(a1 + 712) = v10; *(_QWORD *)(a1 + 704) = v10; sub_10001B680((__int64 *)v10, (__int64 *)v10); ++*(_QWORD *)(a1 + 720); } LABEL_16: v15 = *(float *)(*(_QWORD *)(a1 + 752) + 436LL); SFXFolderPickerPopup::rebuildList(a1); ScrollableContentLayer::scrollTo(*(_QWORD *)(a1 + 752), v15); v11 = *(_QWORD *)(a1 + 760); if ( v11 ) { v12 = "GJ_button_04.png"; if ( *(int *)(a1 + 728) > 0 ) v12 = "GJ_button_01.png"; (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v11 + 1056LL))(v11, *(_DWORD *)(a1 + 728) > 0); v13 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 760) + 1072LL))(*(_QWORD *)(a1 + 760)); ButtonSprite::updateBGImage(v13, (__int64)v12); } return SFXFolderPickerPopup::updateShareHint(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source