{"type": "func", "start": 4298234528, "end": 4298234664, "name": "GameManager::reloadAllStep3", "pseudocode": "// \n// GameManager::reloadAllStep3 from 0x10031daa0 to 0x10031db28 (136 bytes)\n// \n// 1 xrefs:\n// > GameManager::reloadAllStep2 @ 0x10031da5c\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 GameManager::reloadAllStep3(GameManager *a1)\n{\n  cocos2d::CCActionManager *m_pActionManager; // x20\n  cocos2d::CCDelayTime *v3; // x21\n  char v4; // w0\n  __int64 v5; // x1\n  __int64 v6; // x2\n  __int64 v7; // x3\n  __int64 v8; // x4\n  __int64 v9; // x5\n  __int64 v10; // x6\n  __int64 v11; // x7\n  cocos2d::CCSequence *v12; // x1\n  cocos2d::SEL_CallFunc v13; // 0:x1.16\n\n  if ( a1->m_switchModes )\n    PlatformToolbox::toggleFullScreen(a1->m_toFullscreen, a1->m_reloading, a1->m_fix);\n  m_pActionManager = a1->m_pActionManager;\n  v3 = cocos2d::CCDelayTime::create(0.0);\n  v13.ptr = (void (*)(void))GameManager::reloadAllStep4;\n  v13.adj = 0;\n  v4 = (unsigned __int8)cocos2d::CCCallFunc::create(a1, v13);\n  v12 = sub_10018A494(v3, v5, v6, v7, v8, v9, v10, v11, v4);\n  cocos2d::CCActionManager::addAction(m_pActionManager, v12, a1, 0);\n}", "assembly": "; \n; GameManager::reloadAllStep3 from 0x10031daa0 to 0x10031db28 (136 bytes)\n; \n; 1 xrefs:\n; > GameManager::reloadAllStep2 @ 0x10031da5c\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\nSUB             SP, SP, #0x40                                          ; +0x0, 0x10031daa0\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x10031daa4\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x10031daa8\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x10031daac\nADD             X29, SP, #0x30                                         ; +0x10, 0x10031dab0\nMOV             X19, X0                                                ; +0x14, 0x10031dab4\nLDRB            W8, [X0,#0x188]                                        ; +0x18, 0x10031dab8\nCMP             W8, #1                                                 ; +0x1c, 0x10031dabc\nB.NE            loc_10031DAD4                                          ; +0x20, 0x10031dac0\nLDRB            W0, [X19,#0x189]                                       ; +0x24, 0x10031dac4\nLDRB            W1, [X19,#0x18A]                                       ; +0x28, 0x10031dac8\nLDRB            W2, [X19,#0x18B]                                       ; +0x2c, 0x10031dacc\nBL              PlatformToolbox__toggleFullScreen                      ; +0x30, 0x10031dad0\nLDR             X20, [X19,#0x108]                                      ; +0x34, 0x10031dad4\nFMOV            S0, WZR                                                ; +0x38, 0x10031dad8\nBL              cocos2d__CCDelayTime__create                           ; +0x3c, 0x10031dadc\nMOV             X21, X0                                                ; +0x40, 0x10031dae0\nADRL            X1, GameManager__reloadAllStep4                        ; +0x44, 0x10031dae4\nMOV             X0, X19                                                ; +0x4c, 0x10031daec\nMOV             X2, #0                                                 ; +0x50, 0x10031daf0\nBL              cocos2d__CCCallFunc__create                            ; +0x54, 0x10031daf4\nSTP             X0, XZR, [SP,#0x30+var_30]                             ; +0x58, 0x10031daf8\nMOV             X0, X21                                                ; +0x5c, 0x10031dafc\nBL              sub_10018A494                                          ; +0x60, 0x10031db00\nMOV             X1, X0                                                 ; +0x64, 0x10031db04\nMOV             X0, X20                                                ; +0x68, 0x10031db08\nMOV             X2, X19                                                ; +0x6c, 0x10031db0c\nMOV             W3, #0                                                 ; +0x70, 0x10031db10\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x74, 0x10031db14\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x78, 0x10031db18\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x7c, 0x10031db1c\nADD             SP, SP, #0x40 ; '@'                                    ; +0x80, 0x10031db20\nB               cocos2d__CCActionManager__addAction                    ; +0x84, 0x10031db24", "xrefs": ["GameManager::reloadAllStep2 @ 0x10031da5c"], "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"}