{"type": "func", "start": 4298720736, "end": 4298720793, "name": "GauntletLayer::onLevel", "pseudocode": "// \n// GauntletLayer::onLevel from 0x1003945e0 to 0x100394619 (57 bytes)\n// \n// 1 xrefs:\n// > GauntletLayer::setupGauntlet @ 0x1003935b0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall GauntletLayer::onLevel(GauntletLayer *a1, cocos2d::CCObject *a2)\n{\n  cocos2d::CCArray *m_levels; // rbx\n  unsigned int v3; // eax\n  GJGameLevel *v4; // rbx\n  GameLevelManager *v5; // rax\n\n  m_levels = a1->m_levels;\n  v3 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2);\n  v4 = (GJGameLevel *)sub_1007200C0(m_levels, v3);\n  v5 = GameLevelManager::sharedState();\n  GameLevelManager::gotoLevelPage(v5, v4);\n}", "assembly": "; \n; GauntletLayer::onLevel from 0x1003945e0 to 0x100394619 (57 bytes)\n; \n; 1 xrefs:\n; > GauntletLayer::setupGauntlet @ 0x1003935b0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x1003945e0\nmov     rbp, rsp                                                       ; +0x1, 0x1003945e1\npush    rbx                                                            ; +0x4, 0x1003945e4\npush    rax                                                            ; +0x5, 0x1003945e5\nmov     rbx, [rdi+1A0h]                                                ; +0x6, 0x1003945e6\nmov     rax, [rsi]                                                     ; +0xd, 0x1003945ed\nmov     rdi, rsi                                                       ; +0x10, 0x1003945f0\ncall    qword ptr [rax+40h]                                            ; +0x13, 0x1003945f3\nmov     rdi, rbx                                                       ; +0x16, 0x1003945f6\nmov     esi, eax                                                       ; +0x19, 0x1003945f9\ncall    sub_1007200C0                                                  ; +0x1b, 0x1003945fb\nmov     rbx, rax                                                       ; +0x20, 0x100394600\ncall    GameLevelManager__sharedState                                  ; +0x23, 0x100394603\nmov     rdi, rax                                                       ; +0x28, 0x100394608\nmov     rsi, rbx                                                       ; +0x2b, 0x10039460b\nadd     rsp, 8                                                         ; +0x2e, 0x10039460e\npop     rbx                                                            ; +0x32, 0x100394612\npop     rbp                                                            ; +0x33, 0x100394613\njmp     GameLevelManager__gotoLevelPage                                ; +0x34, 0x100394614", "xrefs": ["GauntletLayer::setupGauntlet @ 0x1003935b0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}