{"type": "func", "start": 4300673568, "end": 4300673624, "name": "GauntletSelectLayer::scene", "pseudocode": "// \n// GauntletSelectLayer::scene from 0x100571220 to 0x100571258 (56 bytes)\n// \n// 4 xrefs:\n// > CreatorLayer::onGauntlets @ 0x1002989b0\n// > GauntletLayer::onBack @ 0x10039311b\n// > GauntletLayer::keyBackClicked @ 0x100394c3b\n// > sub_100394C70 @ 0x100394c96\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\ncocos2d::CCScene *__fastcall GauntletSelectLayer::scene(int a1)\n{\n  cocos2d::CCScene *v1; // r14\n  GauntletSelectLayer *v2; // rax\n\n  v1 = cocos2d::CCScene::create();\n  AppDelegate::get()->m_runningScene = v1;\n  v2 = GauntletSelectLayer::create(a1);\n  ((void (__fastcall *)(cocos2d::CCScene *, GauntletSelectLayer *))v1->addChild)(v1, v2);\n  return v1;\n}", "assembly": "; \n; GauntletSelectLayer::scene from 0x100571220 to 0x100571258 (56 bytes)\n; \n; 4 xrefs:\n; > CreatorLayer::onGauntlets @ 0x1002989b0\n; > GauntletLayer::onBack @ 0x10039311b\n; > GauntletLayer::keyBackClicked @ 0x100394c3b\n; > sub_100394C70 @ 0x100394c96\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, 0x100571220\nmov     rbp, rsp                                                       ; +0x1, 0x100571221\npush    r14                                                            ; +0x4, 0x100571224\npush    rbx                                                            ; +0x6, 0x100571226\nmov     ebx, edi                                                       ; +0x7, 0x100571227\ncall    cocos2d__CCScene__create                                       ; +0x9, 0x100571229\nmov     r14, rax                                                       ; +0xe, 0x10057122e\ncall    AppDelegate__get                                               ; +0x11, 0x100571231\nmov     [rax+48h], r14                                                 ; +0x16, 0x100571236\nmov     edi, ebx                                                       ; +0x1a, 0x10057123a\ncall    GauntletSelectLayer__create                                    ; +0x1c, 0x10057123c\nmov     rcx, [r14]                                                     ; +0x21, 0x100571241\nmov     rdi, r14                                                       ; +0x24, 0x100571244\nmov     rsi, rax                                                       ; +0x27, 0x100571247\ncall    qword ptr [rcx+1B8h]                                           ; +0x2a, 0x10057124a\nmov     rax, r14                                                       ; +0x30, 0x100571250\npop     rbx                                                            ; +0x33, 0x100571253\npop     r14                                                            ; +0x34, 0x100571254\npop     rbp                                                            ; +0x36, 0x100571256\nretn                                                                   ; +0x37, 0x100571257", "xrefs": ["CreatorLayer::onGauntlets @ 0x1002989b0", "GauntletLayer::onBack @ 0x10039311b", "GauntletLayer::keyBackClicked @ 0x100394c3b", "sub_100394C70 @ 0x100394c96"], "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"}