{"type": "func", "start": 4298561776, "end": 4298561850, "name": "GameManager::onlyCuratedLevels", "pseudocode": "// \n// GameManager::onlyCuratedLevels from 0x10036d8f0 to 0x10036d93a (74 bytes)\n// \n// 10 xrefs:\n// > LevelListCell::onClick @ 0x10024323d\n// > CreatorLayer::init @ 0x1002827a8\n// > CreatorLayer::onSavedLevels @ 0x10028302d\n// > CreatorLayer::onMyLevels @ 0x10028386d\n// > LevelBrowserLayer::init @ 0x100480763\n// > LevelBrowserLayer::init @ 0x100481621\n// > LevelBrowserLayer::init @ 0x100481873\n// > LevelBrowserLayer::init @ 0x100482311\n// > InfoLayer::init @ 0x10089223c\n// > ProfilePage::loadPageFromUserInfo @ 0x1008a151e\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:29:01 +0000\n// \n\nchar __fastcall GameManager::onlyCuratedLevels(__int64 a1)\n{\n  if ( (unsigned __int8)GameManager::getGameVariable(a1, \"0218\")\n    || (unsigned __int8)GameManager::getGameVariable(a1, \"0219\") )\n  {\n    return 1;\n  }\n  else\n  {\n    return GameManager::getGameVariable(a1, \"0077\");\n  }\n}", "assembly": "; \n; GameManager::onlyCuratedLevels from 0x10036d8f0 to 0x10036d93a (74 bytes)\n; \n; 10 xrefs:\n; > LevelListCell::onClick @ 0x10024323d\n; > CreatorLayer::init @ 0x1002827a8\n; > CreatorLayer::onSavedLevels @ 0x10028302d\n; > CreatorLayer::onMyLevels @ 0x10028386d\n; > LevelBrowserLayer::init @ 0x100480763\n; > LevelBrowserLayer::init @ 0x100481621\n; > LevelBrowserLayer::init @ 0x100481873\n; > LevelBrowserLayer::init @ 0x100482311\n; > InfoLayer::init @ 0x10089223c\n; > ProfilePage::loadPageFromUserInfo @ 0x1008a151e\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:29:01 +0000\n; \npush    rbp                                                            ; +0x0, 0x10036d8f0\nmov     rbp, rsp                                                       ; +0x1, 0x10036d8f1\npush    rbx                                                            ; +0x4, 0x10036d8f4\npush    rax                                                            ; +0x5, 0x10036d8f5\nmov     rbx, rdi                                                       ; +0x6, 0x10036d8f6\nlea     rsi, a0218; \"0218\"                                             ; +0x9, 0x10036d8f9\ncall    GameManager__getGameVariable                                   ; +0x10, 0x10036d900\ntest    al, al                                                         ; +0x15, 0x10036d905\njnz     short loc_10036D91C                                            ; +0x17, 0x10036d907\nlea     rsi, a0219; \"0219\"                                             ; +0x19, 0x10036d909\nmov     rdi, rbx                                                       ; +0x20, 0x10036d910\ncall    GameManager__getGameVariable                                   ; +0x23, 0x10036d913\ntest    al, al                                                         ; +0x28, 0x10036d918\njz      short loc_10036D925                                            ; +0x2a, 0x10036d91a\nmov     al, 1                                                          ; +0x2c, 0x10036d91c\nadd     rsp, 8                                                         ; +0x2e, 0x10036d91e\npop     rbx                                                            ; +0x32, 0x10036d922\npop     rbp                                                            ; +0x33, 0x10036d923\nretn                                                                   ; +0x34, 0x10036d924\nlea     rsi, a0077; \"0077\"                                             ; +0x35, 0x10036d925\nmov     rdi, rbx                                                       ; +0x3c, 0x10036d92c\nadd     rsp, 8                                                         ; +0x3f, 0x10036d92f\npop     rbx                                                            ; +0x43, 0x10036d933\npop     rbp                                                            ; +0x44, 0x10036d934\njmp     GameManager__getGameVariable                                   ; +0x45, 0x10036d935", "xrefs": ["LevelListCell::onClick @ 0x10024323d", "CreatorLayer::init @ 0x1002827a8", "CreatorLayer::onSavedLevels @ 0x10028302d", "CreatorLayer::onMyLevels @ 0x10028386d", "LevelBrowserLayer::init @ 0x100480763", "LevelBrowserLayer::init @ 0x100481621", "LevelBrowserLayer::init @ 0x100481873", "LevelBrowserLayer::init @ 0x100482311", "InfoLayer::init @ 0x10089223c", "ProfilePage::loadPageFromUserInfo @ 0x1008a151e"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}