// // GJSelectionStrip::setCount from 0x1403a91a0 to 0x1403a9284 (228 bytes) // // 17 xrefs: // > AutoBackupPopup::buildRows @ 0x1400caf84 // > AutoBackupPopup::onToggleRow @ 0x1400cc5da // > AutoBackupPopup::onSelectAll @ 0x1400cc744 // > MessageThreadsPage::init @ 0x1400d59a2 // > MessageThreadsPage::onSelectAll @ 0x1400d63b1 // > MessageThreadsPage::onSelectionChanged @ 0x1400d641d // > MessageThreadsPage::applyThreadList @ 0x1400d8a51 // > FRequestProfilePage::updateSelectUI @ 0x14021040b // > FRequestProfilePage::updateSelectUI @ 0x140210419 // > LevelBrowserLayer::init @ 0x1403e2eeb // > LevelBrowserLayer::loadLevelsFinished @ 0x1403e60fb // > LevelBrowserLayer::onToggleAllObjects @ 0x1403ea1db // > LevelBrowserLayer::onSelectionChanged @ 0x1403ea22e // > LevelListLayer::loadLevelsFinished @ 0x14042e9be // > @ 0x1408c04cc // > @ 0x1408c04dc // > @ 0x140923924 // // 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 11:31:20 +0000 // unsigned __int64 __fastcall GJSelectionStrip::setCount(__int64 a1, __int64 a2) { unsigned __int64 v2; // rbx bool v4; // zf int v5; // r14d __int64 v6; // rcx __int64 v7; // rsi void (__fastcall **v8)(__int64, const char *); // rdi cocos2d::CCString *v9; // rax const char *CString; // rax __int64 v11; // rcx unsigned __int64 result; // rax v2 = 0; v4 = *(_BYTE *)(a1 + 376) == 0; v5 = 0; v6 = *(_QWORD *)(a1 + 360); if ( !v4 ) v5 = a2; if ( v6 ) { LOBYTE(a2) = v5 > 0; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 336LL))(v6, a2); v7 = *(_QWORD *)(a1 + 360); v8 = *(void (__fastcall ***)(__int64, const char *))(v7 + 360); v9 = cocos2d::CCString::createWithFormat("(%i)", v5); CString = cocos2d::CCString::getCString(v9); (*v8)(v7 + 360, CString); } v11 = *(_QWORD *)(a1 + 384); result = (*(_QWORD *)(a1 + 392) - v11) >> 3; if ( result ) { do { (*(void (__fastcall **)(_QWORD, bool))(**(_QWORD **)(v11 + 8 * v2) + 336LL))(*(_QWORD *)(v11 + 8 * v2), v5 > 0); v11 = *(_QWORD *)(a1 + 384); ++v2; result = (*(_QWORD *)(a1 + 392) - v11) >> 3; } while ( v2 < result ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source