{"type": "func", "start": 4299063136, "end": 4299063195, "name": "FMODAudioEngine::isSoundReady", "pseudocode": "// \n// FMODAudioEngine::isSoundReady from 0x1003e7f60 to 0x1003e7f9b (59 bytes)\n// \n// 0 xrefs:\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\nbool __fastcall FMODAudioEngine::isSoundReady(FMODAudioEngine *a1, FMOD::Sound *a2)\n{\n  __int64 v2; // rax\n  FMOD_OPENSTATE v4[3]; // [rsp+0h] [rbp-Ch] BYREF\n\n  v4[0] = HIDWORD(v2);\n  a1->m_lastResult = FMOD::Sound::getOpenState(a2, v4, nullptr, nullptr, nullptr);\n  return (v4[0] < FMOD_OPENSTATE_SETPOSITION) & (0x45u >> SLOBYTE(v4[0]));\n}", "assembly": "; \n; FMODAudioEngine::isSoundReady from 0x1003e7f60 to 0x1003e7f9b (59 bytes)\n; \n; 0 xrefs:\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, 0x1003e7f60\nmov     rbp, rsp                                                       ; +0x1, 0x1003e7f61\npush    rbx                                                            ; +0x4, 0x1003e7f64\npush    rax                                                            ; +0x5, 0x1003e7f65\nmov     rax, rsi                                                       ; +0x6, 0x1003e7f66\nmov     rbx, rdi                                                       ; +0x9, 0x1003e7f69\nlea     rsi, [rbp+var_C]                                               ; +0xc, 0x1003e7f6c\nmov     rdi, rax                                                       ; +0x10, 0x1003e7f70\nxor     edx, edx                                                       ; +0x13, 0x1003e7f73\nxor     ecx, ecx                                                       ; +0x15, 0x1003e7f75\nxor     r8d, r8d                                                       ; +0x17, 0x1003e7f77\ncall    __ZN4FMOD5Sound12getOpenStateEP14FMOD_OPENSTATEPjPbS4_; FMOD::Sound::getOpenState(FMOD_OPENSTATE *,uint *,bool *,bool *) ; +0x1a, 0x1003e7f7a\nmov     [rbx+210h], eax                                                ; +0x1f, 0x1003e7f7f\nmov     ecx, [rbp+var_C]                                               ; +0x25, 0x1003e7f85\ncmp     ecx, 7                                                         ; +0x28, 0x1003e7f88\nsetb    dl                                                             ; +0x2b, 0x1003e7f8b\nmov     al, 45h ; 'E'                                                  ; +0x2e, 0x1003e7f8e\nshr     al, cl                                                         ; +0x30, 0x1003e7f90\nand     al, dl                                                         ; +0x32, 0x1003e7f92\nadd     rsp, 8                                                         ; +0x34, 0x1003e7f94\npop     rbx                                                            ; +0x38, 0x1003e7f98\npop     rbp                                                            ; +0x39, 0x1003e7f99\nretn                                                                   ; +0x3a, 0x1003e7f9a", "xrefs": [], "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"}