{"type": "func", "start": 4295867564, "end": 4295867692, "name": "CreatorLayer::onGauntlets", "pseudocode": "// \n// CreatorLayer::onGauntlets from 0x1000dbcac to 0x1000dbd2c (128 bytes)\n// \n// 1 xrefs:\n// > CreatorLayer::init @ 0x1000daebc\n// \n// This function is hookable on this platform (idp: arm, 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 10:58:59 +0000\n// \n\n__int64 __fastcall CreatorLayer::onGauntlets(__int64 a1)\n{\n  __int64 v2; // x0\n  __int64 v3; // x0\n  __int64 v4; // x0\n  __int64 v5; // x19\n  __int64 v6; // x0\n  __int64 v7; // x0\n  __int64 v8; // x0\n  __int64 result; // x0\n\n  v2 = GameLevelManager::sharedState();\n  if ( sub_1000B9028(v2) )\n    *(_BYTE *)(GameLevelManager::sharedState() + 1448) = 1;\n  v3 = GameLevelManager::sharedState();\n  sub_1000B9074(v3);\n  v4 = *(_QWORD *)(a1 + 472);\n  if ( v4 )\n    v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 576LL))(v4);\n  v5 = cocos2d::CCDirector::sharedDirector(v4);\n  v6 = GauntletSelectLayer::scene(0);\n  v7 = cocos2d::CCTransitionFade::create_1(v6, 0.5);\n  v8 = cocos2d::CCDirector::pushScene(v5, v7);\n  result = GameManager::sharedState(v8);\n  *(_DWORD *)(result + 708) = 1;\n  return result;\n}", "assembly": "; \n; CreatorLayer::onGauntlets from 0x1000dbcac to 0x1000dbd2c (128 bytes)\n; \n; 1 xrefs:\n; > CreatorLayer::init @ 0x1000daebc\n; \n; This function is hookable on this platform (idp: arm, 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 10:58:59 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1000dbcac\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1000dbcb0\nADD             X29, SP, #0x10                                         ; +0x8, 0x1000dbcb4\nMOV             X19, X0                                                ; +0xc, 0x1000dbcb8\nBL              GameLevelManager__sharedState                          ; +0x10, 0x1000dbcbc\nBL              sub_1000B9028                                          ; +0x14, 0x1000dbcc0\nCBZ             W0, loc_1000DBCD4                                      ; +0x18, 0x1000dbcc4\nBL              GameLevelManager__sharedState                          ; +0x1c, 0x1000dbcc8\nMOV             W8, #1                                                 ; +0x20, 0x1000dbccc\nSTRB            W8, [X0,#0x5A8]                                        ; +0x24, 0x1000dbcd0\nBL              GameLevelManager__sharedState                          ; +0x28, 0x1000dbcd4\nBL              sub_1000B9074                                          ; +0x2c, 0x1000dbcd8\nLDR             X0, [X19,#0x1D8]                                       ; +0x30, 0x1000dbcdc\nCBZ             X0, loc_1000DBCF0                                      ; +0x34, 0x1000dbce0\nLDR             X8, [X0]                                               ; +0x38, 0x1000dbce4\nLDR             X8, [X8,#0x240]                                        ; +0x3c, 0x1000dbce8\nBLR             X8                                                     ; +0x40, 0x1000dbcec\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x44, 0x1000dbcf0\nMOV             X19, X0                                                ; +0x48, 0x1000dbcf4\nMOV             W0, #0                                                 ; +0x4c, 0x1000dbcf8\nBL              GauntletSelectLayer__scene                             ; +0x50, 0x1000dbcfc\nFMOV            S0, #0.5                                               ; +0x54, 0x1000dbd00\nBL              cocos2d__CCTransitionFade__create_1                    ; +0x58, 0x1000dbd04\nMOV             X1, X0                                                 ; +0x5c, 0x1000dbd08\nMOV             X0, X19                                                ; +0x60, 0x1000dbd0c\nBL              cocos2d__CCDirector__pushScene                         ; +0x64, 0x1000dbd10\nBL              GameManager__sharedState                               ; +0x68, 0x1000dbd14\nMOV             W8, #1                                                 ; +0x6c, 0x1000dbd18\nSTR             W8, [X0,#0x2C4]                                        ; +0x70, 0x1000dbd1c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x74, 0x1000dbd20\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x78, 0x1000dbd24\nRET                                                                    ; +0x7c, 0x1000dbd28", "xrefs": ["CreatorLayer::init @ 0x1000daebc"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}