{"type": "func", "start": 4115984, "end": 4116084, "name": "FMODAudioEngine::resumeSuspendedAudio", "pseudocode": "// \n// FMODAudioEngine::resumeSuspendedAudio from 0x3ece10 to 0x3ece74 (100 bytes)\n// \n// 2 xrefs:\n// > FMODAudioEngine::start @ 0x3eceb4\n// > AppDelegate::resumeSound @ 0x3f6ef2\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:47:10 +0000\n// \n\nvoid __fastcall FMODAudioEngine::resumeSuspendedAudio(FMOD::ChannelControl **this)\n{\n  unsigned int *v2; // r6\n  unsigned int *v3; // r5\n  unsigned int v4; // r1\n  FMOD::ChannelControl *v5; // r0\n  int v6; // r2\n  int v7; // r3\n\n  if ( *((_BYTE *)this + 405) && !*((_BYTE *)this + 397) )\n    FMOD::ChannelControl::setPaused(*(this + 94), 0);\n  v2 = (unsigned int *)*(this + 103);\n  v3 = (unsigned int *)*(this + 102);\n  *((_BYTE *)this + 405) = 0;\n  while ( v3 != v2 )\n  {\n    v4 = *v3++;\n    v5 = (FMOD::ChannelControl *)FMODAudioEngine::channelForChannelID((FMODAudioEngine *)this, v4);\n    if ( v5 )\n      FMOD::ChannelControl::setPaused(v5, 0);\n  }\n  v6 = (int)*(this + 102);\n  while ( 1 )\n  {\n    v7 = (int)*(this + 103);\n    if ( v6 == v7 )\n      break;\n    *(this + 103) = (FMOD::ChannelControl *)(v7 - 4);\n  }\n  FMODAudioEngine::logLifecycleState((FMODAudioEngine *)this, \"resumeSuspendedAudio out\");\n}", "assembly": "; \n; FMODAudioEngine::resumeSuspendedAudio from 0x3ece10 to 0x3ece74 (100 bytes)\n; \n; 2 xrefs:\n; > FMODAudioEngine::start @ 0x3eceb4\n; > AppDelegate::resumeSound @ 0x3f6ef2\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:47:10 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x3ece10\nMOV             R4, R0                                                 ; +0x2, 0x3ece12\nLDRB.W          R3, [R0,#0x195]                                        ; +0x4, 0x3ece14\nCBZ             R3, loc_3ECE28                                         ; +0x8, 0x3ece18\nLDRB.W          R1, [R0,#0x18D]; bool                                  ; +0xa, 0x3ece1a\nCBNZ            R1, loc_3ECE28                                         ; +0xe, 0x3ece1e\nLDR.W           R0, [R0,#0x178]; this                                  ; +0x10, 0x3ece20\nBLX             _ZN4FMOD14ChannelControl9setPausedEb; FMOD::ChannelControl::setPaused(bool) ; +0x14, 0x3ece24\nLDR.W           R6, [R4,#0x19C]                                        ; +0x18, 0x3ece28\nMOVS            R3, #0                                                 ; +0x1c, 0x3ece2c\nLDR.W           R5, [R4,#0x198]                                        ; +0x1e, 0x3ece2e\nSTRB.W          R3, [R4,#0x195]                                        ; +0x22, 0x3ece32\nCMP             R5, R6                                                 ; +0x26, 0x3ece36\nMOV             R3, R5                                                 ; +0x28, 0x3ece38\nBEQ             loc_3ECE52                                             ; +0x2a, 0x3ece3a\nMOV             R0, R4; this                                           ; +0x2c, 0x3ece3c\nLDR             R1, [R3]; int                                          ; +0x2e, 0x3ece3e\nADDS            R5, #4                                                 ; +0x30, 0x3ece40\nBL              _ZN15FMODAudioEngine19channelForChannelIDEi; FMODAudioEngine::channelForChannelID(int) ; +0x32, 0x3ece42\nCMP             R0, #0                                                 ; +0x36, 0x3ece46\nBEQ             loc_3ECE36                                             ; +0x38, 0x3ece48\nMOVS            R1, #0; bool                                           ; +0x3a, 0x3ece4a\nBLX             _ZN4FMOD14ChannelControl9setPausedEb; FMOD::ChannelControl::setPaused(bool) ; +0x3c, 0x3ece4c\nB               loc_3ECE36                                             ; +0x40, 0x3ece50\nLDR.W           R2, [R4,#0x198]                                        ; +0x42, 0x3ece52\nLDR.W           R3, [R4,#0x19C]                                        ; +0x46, 0x3ece56\nCMP             R2, R3                                                 ; +0x4a, 0x3ece5a\nBEQ             loc_3ECE66                                             ; +0x4c, 0x3ece5c\nSUBS            R3, #4                                                 ; +0x4e, 0x3ece5e\nSTR.W           R3, [R4,#0x19C]                                        ; +0x50, 0x3ece60\nB               loc_3ECE56                                             ; +0x54, 0x3ece64\nLDR             R1, =(aResumesuspende - 0x3ECE72); \"resumeSuspendedAudio out\" ; +0x56, 0x3ece66\nMOV             R0, R4; this                                           ; +0x58, 0x3ece68\nPOP.W           {R4-R6,LR}                                             ; +0x5a, 0x3ece6a\nADD             R1, PC; \"resumeSuspendedAudio out\"                     ; +0x5e, 0x3ece6e\nB.W             _ZN15FMODAudioEngine17logLifecycleStateEPKc; FMODAudioEngine::logLifecycleState(char const*) ; +0x60, 0x3ece70", "xrefs": ["FMODAudioEngine::start @ 0x3eceb4", "AppDelegate::resumeSound @ 0x3f6ef2"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}