{"type": "func", "start": 401300, "end": 401376, "name": "sub_61F94", "pseudocode": "// \n// sub_61F94 from 0x61f94 to 0x61fe0 (76 bytes)\n// \n// 1 xrefs:\n// > sub_57338 @ 0x57628\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\nint __fastcall sub_61F94(int a1, int a2)\n{\n  int v2; // r5\n  int v3; // r4\n  int result; // r0\n\n  v2 = a1 + 4 * a2;\n  v3 = *(_DWORD *)(v2 + 67176);\n  if ( !v3 )\n    return 0;\n  result = sub_89D4C(*(_DWORD *)(v2 + 67176));\n  if ( !result )\n  {\n    sub_BD7AC(*(int *)((char *)&dword_14C + (_DWORD)off_E8000), v3, \"../../src/fmod_systemi_dsp.cpp\", 658, 1);\n    *(_DWORD *)(v2 + 67176) = 0;\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_61F94 from 0x61f94 to 0x61fe0 (76 bytes)\n; \n; 1 xrefs:\n; > sub_57338 @ 0x57628\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            {R4-R7,LR}                                             ; +0x0, 0x61f94\nADD             R7, SP, #0xC                                           ; +0x2, 0x61f96\nPUSH.W          {R11}                                                  ; +0x4, 0x61f98\nSUB             SP, SP, #8                                             ; +0x8, 0x61f9c\nLDR             R6, =0x10668                                           ; +0xa, 0x61f9e\nADD.W           R5, R0, R1,LSL#2                                       ; +0xc, 0x61fa0\nLDR             R4, [R5,R6]                                            ; +0x10, 0x61fa4\nCBZ             R4, loc_61FD6                                          ; +0x12, 0x61fa6\nMOV             R0, R4                                                 ; +0x14, 0x61fa8\nBL              sub_89D4C                                              ; +0x16, 0x61faa\nCBNZ            R0, loc_61FD8                                          ; +0x1a, 0x61fae\nLDR             R0, =(off_E6144 - 0x61FBE)                             ; +0x1c, 0x61fb0\nMOVS            R1, #1                                                 ; +0x1e, 0x61fb2\nMOVW            R3, #0x292                                             ; +0x20, 0x61fb4\nADD             R5, R6                                                 ; +0x24, 0x61fb8\nADD             R0, PC; off_E6144                                      ; +0x26, 0x61fba\nLDR             R0, [R0]; off_E8000                                    ; +0x28, 0x61fbc\nLDR             R0, [R0]; dword_F2488                                  ; +0x2a, 0x61fbe\nLDR.W           R0, [R0,#(dword_F25D4 - 0xF2488)]                      ; +0x2c, 0x61fc0\nSTR             R1, [SP,#8+var_8]                                      ; +0x30, 0x61fc4\nMOV             R1, R4                                                 ; +0x32, 0x61fc6\nLDR             R2, =(aSrcFmodSystemi_2 - 0x61FCE); \"../../src/fmod_systemi_dsp.cpp\" ... ; +0x34, 0x61fc8\nADD             R2, PC; \"../../src/fmod_systemi_dsp.cpp\"               ; +0x36, 0x61fca\nBL              sub_BD7AC                                              ; +0x38, 0x61fcc\nMOVS            R0, #0                                                 ; +0x3c, 0x61fd0\nSTR             R0, [R5]                                               ; +0x3e, 0x61fd2\nB               loc_61FD8                                              ; +0x40, 0x61fd4\nMOVS            R0, #0                                                 ; +0x42, 0x61fd6\nADD             SP, SP, #8                                             ; +0x44, 0x61fd8\nPOP.W           {R11}                                                  ; +0x46, 0x61fda\nPOP             {R4-R7,PC}                                             ; +0x4a, 0x61fde", "xrefs": ["sub_57338 @ 0x57628"], "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"}