{"type": "func", "start": 4096660, "end": 4096740, "name": "FMODAudioEngine::isSoundReady", "pseudocode": "// \n// FMODAudioEngine::isSoundReady from 0x3e8294 to 0x3e82e4 (80 bytes)\n// \n// 2 xrefs:\n// > FMODAudioEngine::updateQueuedMusic @ 0x3f01d8\n// > FMODAudioEngine::updateQueuedEffects @ 0x3f1c4a\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:05 +0000\n// \n\nbool __fastcall FMODAudioEngine::isSoundReady(FMODAudioEngine *this, FMOD::Sound *a2)\n{\n  int v3; // [sp+8h] [bp-Ch]\n\n  *((_DWORD *)this + 97) = FMOD::Sound::getOpenState();\n  ERRCHECK_fn();\n  return !v3 || v3 == 6 || v3 == 2;\n}", "assembly": "; \n; FMODAudioEngine::isSoundReady from 0x3e8294 to 0x3e82e4 (80 bytes)\n; \n; 2 xrefs:\n; > FMODAudioEngine::updateQueuedMusic @ 0x3f01d8\n; > FMODAudioEngine::updateQueuedEffects @ 0x3f1c4a\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:05 +0000\n; \nPUSH            {R4,R5,LR}                                             ; +0x0, 0x3e8294\nSUB             SP, SP, #0x14                                          ; +0x2, 0x3e8296\nLDR             R4, =(__stack_chk_guard_ptr - 0x3E82A4)                ; +0x4, 0x3e8298\nMOVS            R2, #0                                                 ; +0x6, 0x3e829a\nMOV             R5, R0                                                 ; +0x8, 0x3e829c\nMOV             R0, R1                                                 ; +0xa, 0x3e829e\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xc, 0x3e82a0\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xe, 0x3e82a2\nADD             R1, SP, #0x14+var_C                                    ; +0x10, 0x3e82a4\nLDR             R3, [R4]                                               ; +0x12, 0x3e82a6\nSTR             R2, [SP,#0x14+var_14]                                  ; +0x14, 0x3e82a8\nSTR             R3, [SP,#0x14+var_8]                                   ; +0x16, 0x3e82aa\nMOV             R3, R2                                                 ; +0x18, 0x3e82ac\nBLX             _ZN4FMOD5Sound12getOpenStateEP14FMOD_OPENSTATEPjPbS4_; FMOD::Sound::getOpenState(FMOD_OPENSTATE *,uint *,bool *,bool *) ; +0x1a, 0x3e82ae\nLDR             R1, =(aUsersRobertDev - 0x3E82BC); \"/Users/robert/Developer/GeometryDash/co\"... ; +0x1e, 0x3e82b2\nMOVW            R2, #0xA3D                                             ; +0x20, 0x3e82b4\nADD             R1, PC; \"/Users/robert/Developer/GeometryDash/co\"...   ; +0x24, 0x3e82b8\nSTR.W           R0, [R5,#0x184]                                        ; +0x26, 0x3e82ba\nBL              _Z11ERRCHECK_fn11FMOD_RESULTPKci; ERRCHECK_fn(FMOD_RESULT,char const*,int) ; +0x2a, 0x3e82be\nLDR             R0, [SP,#0x14+var_C]                                   ; +0x2e, 0x3e82c2\nCBZ             R0, loc_3E82D2                                         ; +0x30, 0x3e82c4\nCMP             R0, #6                                                 ; +0x32, 0x3e82c6\nBEQ             loc_3E82D2                                             ; +0x34, 0x3e82c8\nSUBS            R3, R0, #2                                             ; +0x36, 0x3e82ca\nNEGS            R0, R3                                                 ; +0x38, 0x3e82cc\nADCS            R0, R3                                                 ; +0x3a, 0x3e82ce\nB               loc_3E82D4                                             ; +0x3c, 0x3e82d0\nMOVS            R0, #1                                                 ; +0x3e, 0x3e82d2\nLDR             R2, [SP,#0x14+var_8]                                   ; +0x40, 0x3e82d4\nLDR             R3, [R4]                                               ; +0x42, 0x3e82d6\nCMP             R2, R3                                                 ; +0x44, 0x3e82d8\nBEQ             loc_3E82E0                                             ; +0x46, 0x3e82da\nBLX             __stack_chk_fail                                       ; +0x48, 0x3e82dc\nADD             SP, SP, #0x14                                          ; +0x4c, 0x3e82e0\nPOP             {R4,R5,PC}                                             ; +0x4e, 0x3e82e2", "xrefs": ["FMODAudioEngine::updateQueuedMusic @ 0x3f01d8", "FMODAudioEngine::updateQueuedEffects @ 0x3f1c4a"], "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"}