{"type": "func", "start": 5369355264, "end": 5369355388, "name": "CreatorLayer::onGauntlets", "pseudocode": "// \n// CreatorLayer::onGauntlets from 0x14009dc00 to 0x14009dc7c (124 bytes)\n// \n// 2 xrefs:\n// > CreatorLayer::init @ 0x14009c78d\n// > <???> @ 0x1406c75d8\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\n// Hidden C++ exception states: #wind=1\nvoid CreatorLayer::onGauntlets(CreatorLayer *a1, cocos2d::CCObject *a2)\n{\n  struct cocos2d::CCScene *v2; // rax\n  struct cocos2d::CCTransitionFade *v3; // rbx\n  __int64 v4; // rcx\n  cocos2d::CCDirector *v5; // rax\n  __int64 v6; // rax\n  void *v7; // [rsp+40h] [rbp+18h]\n\n  v2 = GauntletSelectLayer::scene((int)a1);\n  v3 = cocos2d::CCTransitionFade::create(0.5, v2);\n  v5 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v4);\n  cocos2d::CCDirector::pushScene(v5, v3);\n  v6 = qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v7 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00(v7);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v6 = qword_1406C2ED8;\n  }\n  *(_DWORD *)(v6 + 700) = 1;\n}", "assembly": "; \n; CreatorLayer::onGauntlets from 0x14009dc00 to 0x14009dc7c (124 bytes)\n; \n; 2 xrefs:\n; > CreatorLayer::init @ 0x14009c78d\n; > <???> @ 0x1406c75d8\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    rbx                                                            ; +0x0, 0x14009dc00\nsub     rsp, 20h                                                       ; +0x2, 0x14009dc02\ncall    GauntletSelectLayer__scene                                     ; +0x6, 0x14009dc06\nmov     rdx, rax                                                       ; +0xb, 0x14009dc0b\nmovss   xmm0, cs:dword_140622B08                                       ; +0xe, 0x14009dc0e\ncall    cs:?create@CCTransitionFade@cocos2d@@SAPEAV12@MPEAVCCScene@2@@Z; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x16, 0x14009dc16\nmov     rbx, rax                                                       ; +0x1c, 0x14009dc1c\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x1f, 0x14009dc1f\nmov     rcx, rax                                                       ; +0x25, 0x14009dc25\nmov     rdx, rbx                                                       ; +0x28, 0x14009dc28\ncall    cs:?pushScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::pushScene(cocos2d::CCScene *) ; +0x2b, 0x14009dc2b\nmov     rax, cs:qword_1406C2ED8                                        ; +0x31, 0x14009dc31\ntest    rax, rax                                                       ; +0x38, 0x14009dc38\njnz     short loc_14009DC6C                                            ; +0x3b, 0x14009dc3b\nmov     ecx, 668h; Size                                                ; +0x3d, 0x14009dc3d\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x42, 0x14009dc42\nmov     [rsp+28h+arg_10], rax                                          ; +0x47, 0x14009dc47\nmov     rcx, rax                                                       ; +0x4c, 0x14009dc4c\ncall    sub_14017AB00                                                  ; +0x4f, 0x14009dc4f\nnop                                                                    ; +0x54, 0x14009dc54\nmov     cs:qword_1406C2ED8, rax                                        ; +0x55, 0x14009dc55\nmov     rdx, [rax]                                                     ; +0x5c, 0x14009dc5c\nmov     rcx, rax                                                       ; +0x5f, 0x14009dc5f\ncall    qword ptr [rdx+48h]                                            ; +0x62, 0x14009dc62\nmov     rax, cs:qword_1406C2ED8                                        ; +0x65, 0x14009dc65\nmov     dword ptr [rax+2BCh], 1                                        ; +0x6c, 0x14009dc6c\nadd     rsp, 20h                                                       ; +0x76, 0x14009dc76\npop     rbx                                                            ; +0x7a, 0x14009dc7a\nretn                                                                   ; +0x7b, 0x14009dc7b", "xrefs": ["CreatorLayer::init @ 0x14009c78d", "<???> @ 0x1406c75d8"], "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"}