{"type": "func", "start": 4298881092, "end": 4298881160, "name": "GameManager::reloadAllStep5", "pseudocode": "// \n// GameManager::reloadAllStep5 from 0x1003bb844 to 0x1003bb888 (68 bytes)\n// \n// 1 xrefs:\n// > GameManager::reloadAllStep4 @ 0x1003bb800\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 11:03:59 +0000\n// \n\n__int64 __fastcall GameManager::reloadAllStep5(__int64 a1)\n{\n  int v1; // w20\n  __int64 v2; // x19\n  void *v3; // x0\n\n  v1 = *(unsigned __int8 *)(a1 + 420);\n  v2 = cocos2d::CCDirector::sharedDirector();\n  if ( v1 == 1 )\n    v3 = (void *)LoadingLayer::scene(1);\n  else\n    v3 = MenuLayer::scene(1);\n  return cocos2d::CCDirector::replaceScene(v2, v3);\n}", "assembly": "; \n; GameManager::reloadAllStep5 from 0x1003bb844 to 0x1003bb888 (68 bytes)\n; \n; 1 xrefs:\n; > GameManager::reloadAllStep4 @ 0x1003bb800\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 11:03:59 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1003bb844\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1003bb848\nADD             X29, SP, #0x10                                         ; +0x8, 0x1003bb84c\nLDRB            W20, [X0,#0x1A4]                                       ; +0xc, 0x1003bb850\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x10, 0x1003bb854\nMOV             X19, X0                                                ; +0x14, 0x1003bb858\nMOV             W0, #1                                                 ; +0x18, 0x1003bb85c\nCMP             W20, #1                                                ; +0x1c, 0x1003bb860\nB.NE            loc_1003BB870                                          ; +0x20, 0x1003bb864\nBL              LoadingLayer__scene                                    ; +0x24, 0x1003bb868\nB               loc_1003BB874                                          ; +0x28, 0x1003bb86c\nBL              MenuLayer__scene                                       ; +0x2c, 0x1003bb870\nMOV             X1, X0; lpsrc                                          ; +0x30, 0x1003bb874\nMOV             X0, X19; int                                           ; +0x34, 0x1003bb878\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x38, 0x1003bb87c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x3c, 0x1003bb880\nB               cocos2d__CCDirector__replaceScene                      ; +0x40, 0x1003bb884", "xrefs": ["GameManager::reloadAllStep4 @ 0x1003bb800"], "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"}