{"type": "func", "start": 5369057968, "end": 5369058063, "name": "FMODAudioEngine::start", "pseudocode": "// \n// FMODAudioEngine::start from 0x1400552b0 to 0x14005530f (95 bytes)\n// \n// 2 xrefs:\n// > AppDelegate::applicationWillEnterForeground @ 0x140082ee7\n// > <???> @ 0x1406c4fa4\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 FMODAudioEngine::start(FMODAudioEngine *a1)\n{\n  enum FMOD_RESULT v2; // eax\n  FMOD::System *m_system; // rcx\n  __int64 v4; // rdx\n  __int64 v5; // rcx\n  AppDelegate *v6; // rcx\n\n  if ( a1->m_stopped )\n  {\n    v2 = FMOD::System::mixerResume(a1->m_system);\n    m_system = a1->m_system;\n    a1->m_lastResult = v2;\n    FMOD::System::update(m_system);\n    cocos2d::CCApplication::sharedApplication(v5, v4);\n    AppDelegate::resumeSound(v6);\n    ((void (__fastcall *)(FMODAudioEngine *))a1->update)(a1);\n    cocos2d::CCNode::resumeSchedulerAndActions(a1);\n    a1->m_stopped = 0;\n  }\n}", "assembly": "; \n; FMODAudioEngine::start from 0x1400552b0 to 0x14005530f (95 bytes)\n; \n; 2 xrefs:\n; > AppDelegate::applicationWillEnterForeground @ 0x140082ee7\n; > <???> @ 0x1406c4fa4\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    rbx                                                            ; +0x0, 0x1400552b0\nsub     rsp, 20h                                                       ; +0x2, 0x1400552b2\ncmp     byte ptr [rcx+268h], 0                                         ; +0x6, 0x1400552b6\nmov     rbx, rcx                                                       ; +0xd, 0x1400552bd\njz      short loc_140055309                                            ; +0x10, 0x1400552c0\nmov     rcx, [rcx+230h]                                                ; +0x12, 0x1400552c2\ncall    cs:?mixerResume@System@FMOD@@QEAA?AW4FMOD_RESULT@@XZ; FMOD::System::mixerResume(void) ; +0x19, 0x1400552c9\nmov     rcx, [rbx+230h]                                                ; +0x1f, 0x1400552cf\nmov     [rbx+258h], eax                                                ; +0x26, 0x1400552d6\ncall    cs:?update@System@FMOD@@QEAA?AW4FMOD_RESULT@@XZ; FMOD::System::update(void) ; +0x2c, 0x1400552dc\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x32, 0x1400552e2\ncall    AppDelegate__resumeSound                                       ; +0x38, 0x1400552e8\nmov     rax, [rbx]                                                     ; +0x3d, 0x1400552ed\nxorps   xmm1, xmm1                                                     ; +0x40, 0x1400552f0\nmov     rcx, rbx                                                       ; +0x43, 0x1400552f3\ncall    qword ptr [rax+20h]                                            ; +0x46, 0x1400552f6\nmov     rcx, rbx                                                       ; +0x49, 0x1400552f9\ncall    cs:?resumeSchedulerAndActions@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::resumeSchedulerAndActions(void) ; +0x4c, 0x1400552fc\nmov     byte ptr [rbx+268h], 0                                         ; +0x52, 0x140055302\nadd     rsp, 20h                                                       ; +0x59, 0x140055309\npop     rbx                                                            ; +0x5d, 0x14005530d\nretn                                                                   ; +0x5e, 0x14005530e", "xrefs": ["AppDelegate::applicationWillEnterForeground @ 0x140082ee7", "<???> @ 0x1406c4fa4"], "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"}