{"type": "func", "start": 3140848, "end": 3140944, "name": "FMODAudioEngine::start", "pseudocode": "// \n// FMODAudioEngine::start from 0x2fecf0 to 0x2fed50 (96 bytes)\n// \n// 1 xrefs:\n// > FMODAudioEngine::resumeAudio @ 0x2fed54\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  AppDelegate *v2; // r0\n\n  if ( a1->m_stopped )\n  {\n    a1->m_lastResult = FMOD::System::mixerResume(a1->m_system);\n    ERRCHECK_fn();\n    FMOD::System::update(a1->m_system);\n    if ( PlatformToolbox::shouldResumeSound() )\n    {\n      v2 = AppDelegate::get();\n      AppDelegate::resumeSound(v2);\n    }\n    ((void (__fastcall *)(FMODAudioEngine *, _DWORD))a1->update)(a1, 0);\n    cocos2d::CCNode::resumeSchedulerAndActions(a1);\n    a1->m_stopped = 0;\n  }\n}", "assembly": "; \n; FMODAudioEngine::start from 0x2fecf0 to 0x2fed50 (96 bytes)\n; \n; 1 xrefs:\n; > FMODAudioEngine::resumeAudio @ 0x2fed54\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            {R3-R5,LR}                                             ; +0x0, 0x2fecf0\nMOV             R4, R0                                                 ; +0x2, 0x2fecf2\nLDRB.W          R3, [R0,#0x1A8]                                        ; +0x4, 0x2fecf4\nCBZ             R3, loc_2FED4C                                         ; +0x8, 0x2fecf8\nLDR.W           R0, [R0,#0x184]; this                                  ; +0xa, 0x2fecfa\nBLX             _ZN4FMOD6System11mixerResumeEv; FMOD::System::mixerResume(void) ; +0xe, 0x2fecfe\nLDR             R1, =(aUsersRobertLib - 0x2FED0C); \"/Users/robert/Library/CloudStorage/Drop\"... ; +0x12, 0x2fed02\nMOV.W           R2, #0x1AA                                             ; +0x14, 0x2fed04\nADD             R1, PC; \"/Users/robert/Library/CloudStorage/Drop\"...   ; +0x18, 0x2fed08\nSTR.W           R0, [R4,#0x198]                                        ; +0x1a, 0x2fed0a\nBL              _Z11ERRCHECK_fn11FMOD_RESULTPKci; ERRCHECK_fn(FMOD_RESULT,char const*,int) ; +0x1e, 0x2fed0e\nLDR.W           R5, [R4,#0x198]                                        ; +0x22, 0x2fed12\nLDR.W           R0, [R4,#0x184]; this                                  ; +0x26, 0x2fed16\nCLZ.W           R5, R5                                                 ; +0x2a, 0x2fed1a\nLSRS            R5, R5, #5                                             ; +0x2e, 0x2fed1e\nBLX             _ZN4FMOD6System6updateEv; FMOD::System::update(void)   ; +0x30, 0x2fed20\nBL              _ZN15PlatformToolbox17shouldResumeSoundEv; PlatformToolbox::shouldResumeSound(void) ; +0x34, 0x2fed24\nCBZ             R0, loc_2FED32                                         ; +0x38, 0x2fed28\nBL              _ZN11AppDelegate3getEv; AppDelegate::get(void)         ; +0x3a, 0x2fed2a\nBL              _ZN11AppDelegate11resumeSoundEv; AppDelegate::resumeSound(void) ; +0x3e, 0x2fed2e\nLDR             R3, [R4]                                               ; +0x42, 0x2fed32\nMOV             R0, R4                                                 ; +0x44, 0x2fed34\nMOVS            R1, #0                                                 ; +0x46, 0x2fed36\nLDR             R3, [R3,#0x14]                                         ; +0x48, 0x2fed38\nBLX             R3                                                     ; +0x4a, 0x2fed3a\nMOV             R0, R4; this                                           ; +0x4c, 0x2fed3c\nBL              _ZN7cocos2d6CCNode25resumeSchedulerAndActionsEv; cocos2d::CCNode::resumeSchedulerAndActions(void) ; +0x4e, 0x2fed3e\nMOVS            R3, #0                                                 ; +0x52, 0x2fed42\nMOV             R0, R5                                                 ; +0x54, 0x2fed44\nSTRB.W          R3, [R4,#0x1A8]                                        ; +0x56, 0x2fed46\nPOP             {R3-R5,PC}                                             ; +0x5a, 0x2fed4a\nMOVS            R0, #1                                                 ; +0x5c, 0x2fed4c\nPOP             {R3-R5,PC}                                             ; +0x5e, 0x2fed4e", "xrefs": ["FMODAudioEngine::resumeAudio @ 0x2fed54"], "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"}