// // SetupTriggerPopup::refreshGroupVisibility from 0xb1b2f8 to 0xb1b430 (312 bytes) // // 3 xrefs: // > SetupTriggerPopup::goToPage @ 0xb1b5bc // > TabbedPopupLayer::showTab @ 0xc38ad8 // > @ 0x67b40 // // This function is hookable on this platform (idp: arm, 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 13:01:34 +0000 // __int64 __fastcall SetupTriggerPopup::refreshGroupVisibility(cocos2d::CCArray **this) { unsigned int v2; // w24 __int64 result; // x0 unsigned int v4; // w20 cocos2d::CCArray *v5; // x21 int v6; // w23 bool v7; // cf unsigned int v8; // w1 cocos2d::CCArray *v9; // x0 __int64 v10; // x19 __int64 v11; // x1 __int64 v12; // x0 cocos2d::CCDictionary *v13; // x19 int v14; // w0 __int64 v15; // x0 __int64 v16; // x19 void (__fastcall *v17)(__int64, _QWORD); // x25 unsigned int v18; // w0 v2 = 0; result = cocos2d::CCArray::count(*(this + 116)); if ( (_DWORD)result ) { result = cocos2d::CCArray::count(*(this + 116)); if ( (_DWORD)result ) { do { v4 = 0; v5 = (cocos2d::CCArray *)cocos2d::CCArray::objectAtIndex(*(this + 116), v2); v6 = (*(__int64 (__fastcall **)(cocos2d::CCArray *))(*(_QWORD *)v5 + 64LL))(v5); while ( 1 ) { v7 = v4 >= (unsigned int)cocos2d::CCArray::count(v5); v8 = v4; v9 = v5; if ( v7 ) break; while ( 1 ) { v10 = cocos2d::CCArray::objectAtIndex(v9, v8); if ( (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v10 + 352LL))(v10) ) { if ( !v6 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v10 + 344LL))(v10, 0); } v11 = *(_QWORD *)v10; v12 = v10; v13 = *(this + 95); ++v4; v14 = (*(__int64 (__fastcall **)(__int64))(v11 + 64))(v12); v15 = cocos2d::CCDictionary::objectForKey(v13, v14); v16 = v15; if ( !v15 ) break; v17 = *(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v15 + 1000LL); v18 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v15 + 352LL))(v15); v17(v16, v18); v7 = v4 >= (unsigned int)cocos2d::CCArray::count(v5); v8 = v4; v9 = v5; if ( v7 ) goto LABEL_11; } } LABEL_11: ++v2; result = cocos2d::CCArray::count(*(this + 116)); } while ( v2 < (unsigned int)result ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source