// // GJSelectionStrip::setCount from 0xa20c2c to 0xa20cf4 (200 bytes) // // 6 xrefs: // > LevelBrowserLayer::updateSelectUI @ 0x7f5e78 // > GJSelectionStrip::setStripVisible @ 0xa20d44 // > FRequestProfilePage::updateSelectUI @ 0xa4c354 // > AutoBackupPopup::updateSelectUI @ 0xc51f24 // > MessageThreadsPage::updateSelectUI @ 0xc65000 // > @ 0x89110 // // 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 12:59:40 +0000 // __int64 __fastcall GJSelectionStrip::setCount(GJSelectionStrip *this, signed int a2) { int v3; // w2 __int64 v4; // x0 __int64 v6; // x21 void (__fastcall *v7)(__int64, __int64); // x22 cocos2d::CCString *v8; // x0 __int64 CString; // x0 __int64 v10; // x1 __int64 result; // x0 bool v12; // cc unsigned __int64 v13; // x19 unsigned int v14; // w21 __int64 v15; // x2 v3 = *((unsigned __int8 *)this + 376); v4 = *((_QWORD *)this + 45); if ( !v3 ) a2 = 0; if ( v4 ) { (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v4 + 344LL))(v4, a2 > 0); v6 = *((_QWORD *)this + 45); v7 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 928LL); v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"(%i)", (const char *)(unsigned int)a2); CString = cocos2d::CCString::getCString(v8); v7(v6, CString); } v10 = *((_QWORD *)this + 48); result = (*((_QWORD *)this + 49) - v10) >> 3; if ( result ) { v12 = a2 <= 0; v13 = 0; v14 = !v12; do { v15 = *(_QWORD *)(v10 + 8 * v13++); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v15 + 344LL))(v15, v14); v10 = *((_QWORD *)this + 48); result = *((_QWORD *)this + 49) - v10; } while ( v13 < result >> 3 ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source