// // LevelBrowserLayer::onToggleAllObjects from 0x1402cf630 to 0x1402cf6c2 (146 bytes) // // 2 xrefs: // > LevelBrowserLayer::init @ 0x1402c9932 // > @ 0x1406d2e28 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void LevelBrowserLayer::onToggleAllObjects(LevelBrowserLayer *a1, cocos2d::CCObject *a2) { cocos2d::CCArray *m_levels; // rcx cocos2d::CCArray *v4; // rax cocos2d::ccArray *data; // rax __int64 num; // rcx cocos2d::CCObject **arr; // rax cocos2d::CCObject **i; // r8 cocos2d::CCObject *v9; // rdx a1->m_allSelected = !a1->m_allSelected; m_levels = a1->m_levels; if ( m_levels && cocos2d::CCArray::count(m_levels) ) { v4 = a1->m_levels; if ( v4 ) { data = v4->data; num = data->num; if ( (_DWORD)num ) { arr = data->arr; for ( i = &arr[num - 1]; arr <= i; HIBYTE(v9[12].m_unknown5) = a1->m_allSelected ) { v9 = *arr; if ( !*arr ) break; ++arr; } } } CustomListView::reloadAll((CustomListView *)a1->m_list->m_listView); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source