{"type": "func", "start": 586928, "end": 586978, "name": "sub_8F4B0", "pseudocode": "// \n// sub_8F4B0 from 0x8f4b0 to 0x8f4e2 (50 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x8f4ae\n// > sub_8EE96 @ 0x8ee9c\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_8F4B0(int a1)\n{\n  int v1; // r1\n\n  v1 = *(_DWORD *)(a1 + 580);\n  if ( v1 )\n  {\n    sub_BD7AC(*(int *)((char *)&dword_14C + (_DWORD)off_E8000), v1, \"../../src/fmod_dsp_delay.cpp\", 222, 1);\n    *(_DWORD *)(a1 + 576) = 0;\n    *(_DWORD *)(a1 + 580) = 0;\n  }\n  return 0;\n}", "assembly": "; \n; sub_8F4B0 from 0x8f4b0 to 0x8f4e2 (50 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x8f4ae\n; > sub_8EE96 @ 0x8ee9c\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            {R2-R4,R6,R7,LR}                                       ; +0x0, 0x8f4b0\nADD             R7, SP, #0x10                                          ; +0x2, 0x8f4b2\nLDR.W           R1, [R0,#0x244]                                        ; +0x4, 0x8f4b4\nCBZ             R1, loc_8F4DC                                          ; +0x8, 0x8f4b8\nMOV             R4, R0                                                 ; +0xa, 0x8f4ba\nLDR             R0, =(off_E6144 - 0x8F4C6)                             ; +0xc, 0x8f4bc\nMOVS            R2, #1                                                 ; +0xe, 0x8f4be\nMOVS            R3, #0xDE                                              ; +0x10, 0x8f4c0\nADD             R0, PC; off_E6144                                      ; +0x12, 0x8f4c2\nLDR             R0, [R0]; off_E8000                                    ; +0x14, 0x8f4c4\nLDR             R0, [R0]; dword_F2488                                  ; +0x16, 0x8f4c6\nLDR.W           R0, [R0,#(dword_F25D4 - 0xF2488)]                      ; +0x18, 0x8f4c8\nSTR             R2, [SP,#8+var_8]                                      ; +0x1c, 0x8f4cc\nLDR             R2, =(aSrcFmodDspDela - 0x8F4D4); \"../../src/fmod_dsp_delay.cpp\" ... ; +0x1e, 0x8f4ce\nADD             R2, PC; \"../../src/fmod_dsp_delay.cpp\"                 ; +0x20, 0x8f4d0\nBL              sub_BD7AC                                              ; +0x22, 0x8f4d2\nMOVS            R0, #0                                                 ; +0x26, 0x8f4d6\nSTRD.W          R0, R0, [R4,#0x240]                                    ; +0x28, 0x8f4d8\nMOVS            R0, #0                                                 ; +0x2c, 0x8f4dc\nADD             SP, SP, #8                                             ; +0x2e, 0x8f4de\nPOP             {R4,R6,R7,PC}                                          ; +0x30, 0x8f4e0", "xrefs": ["<???> @ 0x8f4ae", "sub_8EE96 @ 0x8ee9c"], "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"}