{"type": "func", "start": 4298234772, "end": 4298234840, "name": "GameManager::reloadAllStep5", "pseudocode": "// \n// GameManager::reloadAllStep5 from 0x10031db94 to 0x10031dbd8 (68 bytes)\n// \n// 1 xrefs:\n// > GameManager::reloadAllStep4 @ 0x10031db50\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::reloadAllStep5(GameManager *a1)\n{\n  _BOOL4 m_reloadTextures; // w20\n  cocos2d::CCDirector *v2; // x19\n  cocos2d::CCScene *v3; // x0\n\n  m_reloadTextures = a1->m_reloadTextures;\n  v2 = cocos2d::CCDirector::sharedDirector();\n  if ( m_reloadTextures )\n    v3 = LoadingLayer::scene(1);\n  else\n    v3 = MenuLayer::scene(1);\n  cocos2d::CCDirector::replaceScene(v2, v3);\n}", "assembly": "; \n; GameManager::reloadAllStep5 from 0x10031db94 to 0x10031dbd8 (68 bytes)\n; \n; 1 xrefs:\n; > GameManager::reloadAllStep4 @ 0x10031db50\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10031db94\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10031db98\nADD             X29, SP, #0x10                                         ; +0x8, 0x10031db9c\nLDRB            W20, [X0,#0x18C]                                       ; +0xc, 0x10031dba0\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x10, 0x10031dba4\nMOV             X19, X0                                                ; +0x14, 0x10031dba8\nMOV             W0, #1                                                 ; +0x18, 0x10031dbac\nCMP             W20, #1                                                ; +0x1c, 0x10031dbb0\nB.NE            loc_10031DBC0                                          ; +0x20, 0x10031dbb4\nBL              LoadingLayer__scene                                    ; +0x24, 0x10031dbb8\nB               loc_10031DBC4                                          ; +0x28, 0x10031dbbc\nBL              MenuLayer__scene                                       ; +0x2c, 0x10031dbc0\nMOV             X1, X0; lpsrc                                          ; +0x30, 0x10031dbc4\nMOV             X0, X19; int                                           ; +0x34, 0x10031dbc8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x38, 0x10031dbcc\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x3c, 0x10031dbd0\nB               cocos2d__CCDirector__replaceScene                      ; +0x40, 0x10031dbd4", "xrefs": ["GameManager::reloadAllStep4 @ 0x10031db50"], "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"}