{"type": "func", "start": 4298688192, "end": 4298688253, "name": "GameManager::reloadAllStep5", "pseudocode": "// \n// GameManager::reloadAllStep5 from 0x10038c6c0 to 0x10038c6fd (61 bytes)\n// \n// 1 xrefs:\n// > GameManager::reloadAllStep4 @ 0x10038c67f\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  bool m_reloadTextures; // r14\n  cocos2d::CCDirector *v2; // rbx\n  cocos2d::CCScene *v3; // rax\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 0x10038c6c0 to 0x10038c6fd (61 bytes)\n; \n; 1 xrefs:\n; > GameManager::reloadAllStep4 @ 0x10038c67f\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    rbp                                                            ; +0x0, 0x10038c6c0\nmov     rbp, rsp                                                       ; +0x1, 0x10038c6c1\npush    r14                                                            ; +0x4, 0x10038c6c4\npush    rbx                                                            ; +0x6, 0x10038c6c6\nmovzx   r14d, byte ptr [rdi+18Ch]                                      ; +0x7, 0x10038c6c7\ncall    cocos2d__CCDirector__sharedDirector                            ; +0xf, 0x10038c6cf\nmov     rbx, rax                                                       ; +0x14, 0x10038c6d4\nmov     edi, 1                                                         ; +0x17, 0x10038c6d7\ncmp     r14b, 1                                                        ; +0x1c, 0x10038c6dc\njnz     short loc_10038C6E9                                            ; +0x20, 0x10038c6e0\ncall    LoadingLayer__scene                                            ; +0x22, 0x10038c6e2\njmp     short loc_10038C6EE                                            ; +0x27, 0x10038c6e7\ncall    MenuLayer__scene                                               ; +0x29, 0x10038c6e9\nmov     rdi, rbx                                                       ; +0x2e, 0x10038c6ee\nmov     rsi, rax                                                       ; +0x31, 0x10038c6f1\npop     rbx                                                            ; +0x34, 0x10038c6f4\npop     r14                                                            ; +0x35, 0x10038c6f5\npop     rbp                                                            ; +0x37, 0x10038c6f7\njmp     cocos2d__CCDirector__replaceScene                              ; +0x38, 0x10038c6f8", "xrefs": ["GameManager::reloadAllStep4 @ 0x10038c67f"], "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"}