{"type": "func", "start": 4298687968, "end": 4298688092, "name": "GameManager::reloadAllStep3", "pseudocode": "// \n// GameManager::reloadAllStep3 from 0x10038c5e0 to 0x10038c65c (124 bytes)\n// \n// 1 xrefs:\n// > GameManager::reloadAllStep2 @ 0x10038c5a0\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; // r14\n  unsigned int v2; // r15d\n  unsigned int v3; // eax\n  int v4; // ecx\n  int v5; // r8d\n  int v6; // r9d\n  cocos2d::CCAction *v7; // rax\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  v2 = (unsigned int)cocos2d::CCDelayTime::create(0.0);\n  v3 = (unsigned int)cocos2d::CCCallFunc::create(\n                       a1,\n                       (cocos2d::SEL_CallFunc)(unsigned __int64)GameManager::reloadAllStep4);\n  v7 = (cocos2d::CCAction *)sub_1003B5760(v2, v3, 0, v4, v5, v6);\n  cocos2d::CCActionManager::addAction(m_pActionManager, v7, a1, 0);\n}", "assembly": "; \n; GameManager::reloadAllStep3 from 0x10038c5e0 to 0x10038c65c (124 bytes)\n; \n; 1 xrefs:\n; > GameManager::reloadAllStep2 @ 0x10038c5a0\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, 0x10038c5e0\nmov     rbp, rsp                                                       ; +0x1, 0x10038c5e1\npush    r15                                                            ; +0x4, 0x10038c5e4\npush    r14                                                            ; +0x6, 0x10038c5e6\npush    rbx                                                            ; +0x8, 0x10038c5e8\npush    rax                                                            ; +0x9, 0x10038c5e9\nmov     rbx, rdi                                                       ; +0xa, 0x10038c5ea\ncmp     byte ptr [rdi+188h], 1                                         ; +0xd, 0x10038c5ed\njnz     short loc_10038C610                                            ; +0x14, 0x10038c5f4\nmovzx   edi, byte ptr [rbx+189h]                                       ; +0x16, 0x10038c5f6\nmovzx   esi, byte ptr [rbx+18Ah]                                       ; +0x1d, 0x10038c5fd\nmovzx   edx, byte ptr [rbx+18Bh]                                       ; +0x24, 0x10038c604\ncall    PlatformToolbox__toggleFullScreen                              ; +0x2b, 0x10038c60b\nmov     r14, [rbx+108h]                                                ; +0x30, 0x10038c610\nxorps   xmm0, xmm0                                                     ; +0x37, 0x10038c617\ncall    cocos2d__CCDelayTime__create                                   ; +0x3a, 0x10038c61a\nmov     r15, rax                                                       ; +0x3f, 0x10038c61f\nlea     rsi, GameManager__reloadAllStep4                               ; +0x42, 0x10038c622\nmov     rdi, rbx                                                       ; +0x49, 0x10038c629\nxor     edx, edx                                                       ; +0x4c, 0x10038c62c\ncall    cocos2d__CCCallFunc__create                                    ; +0x4e, 0x10038c62e\nmov     rdi, r15                                                       ; +0x53, 0x10038c633\nmov     rsi, rax                                                       ; +0x56, 0x10038c636\nxor     edx, edx                                                       ; +0x59, 0x10038c639\nxor     eax, eax                                                       ; +0x5b, 0x10038c63b\ncall    sub_1003B5760                                                  ; +0x5d, 0x10038c63d\nmov     rdi, r14                                                       ; +0x62, 0x10038c642\nmov     rsi, rax                                                       ; +0x65, 0x10038c645\nmov     rdx, rbx                                                       ; +0x68, 0x10038c648\nxor     ecx, ecx                                                       ; +0x6b, 0x10038c64b\nadd     rsp, 8                                                         ; +0x6d, 0x10038c64d\npop     rbx                                                            ; +0x71, 0x10038c651\npop     r14                                                            ; +0x72, 0x10038c652\npop     r15                                                            ; +0x74, 0x10038c654\npop     rbp                                                            ; +0x76, 0x10038c656\njmp     cocos2d__CCActionManager__addAction                            ; +0x77, 0x10038c657", "xrefs": ["GameManager::reloadAllStep2 @ 0x10038c5a0"], "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"}