// // SetupTriggerPopup::refreshGroupVisibility from 0x10021a0d0 to 0x10021a285 (437 bytes) // // 2 xrefs: // > SetupTriggerPopup::goToPage @ 0x10021a028 // > TabbedPopupLayer::showTab @ 0x10063fd49 // // 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:27:01 +0000 // __int64 __fastcall SetupTriggerPopup::refreshGroupVisibility(__int64 a1) { __int64 result; // rax unsigned int v2; // r14d __int64 v3; // r15 int v4; // r12d unsigned int v5; // r12d __int64 v6; // r13 __int64 v7; // r14 __int64 v8; // rsi __int64 v9; // rax __int64 v10; // r13 unsigned __int8 v11; // al unsigned int v12; // r12d __int64 v13; // r13 __int64 v14; // r14 __int64 v15; // rsi __int64 v16; // rax __int64 v17; // r13 unsigned __int8 v18; // al unsigned int v19; // [rsp+0h] [rbp-2Ch] result = sub_1007FEF90(*(_QWORD *)(a1 + 928)); if ( (_DWORD)result ) { result = sub_1007FEF90(*(_QWORD *)(a1 + 928)); if ( (_DWORD)result ) { v2 = 0; do { v19 = v2; v3 = sub_1007FEFE0(*(_QWORD *)(a1 + 928), v2); v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 64LL))(v3); if ( (unsigned int)sub_1007FEF90(v3) ) { if ( v4 ) { v5 = 0; do { v6 = sub_1007FEFE0(v3, v5); (*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 352LL))(v6); v7 = *(_QWORD *)(a1 + 760); v8 = (*(int (__fastcall **)(__int64))(*(_QWORD *)v6 + 64LL))(v6); v9 = cocos2d::CCDictionary::objectForKey_1(v7); if ( v9 ) { v10 = v9; v11 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v9 + 352LL))(v9, v8); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v10 + 1000LL))(v10, v11); } ++v5; } while ( v5 < (unsigned int)sub_1007FEF90(v3) ); } else { v12 = 0; do { v13 = sub_1007FEFE0(v3, v12); if ( (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v13 + 352LL))(v13) ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v13 + 344LL))(v13, 0); v14 = *(_QWORD *)(a1 + 760); v15 = (*(int (__fastcall **)(__int64))(*(_QWORD *)v13 + 64LL))(v13); v16 = cocos2d::CCDictionary::objectForKey_1(v14); if ( v16 ) { v17 = v16; v18 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v16 + 352LL))(v16, v15); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v17 + 1000LL))(v17, v18); } ++v12; } while ( v12 < (unsigned int)sub_1007FEF90(v3) ); } } v2 = v19 + 1; result = sub_1007FEF90(*(_QWORD *)(a1 + 928)); } while ( v19 + 1 < (unsigned int)result ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source