{"type": "func", "start": 507696, "end": 507748, "name": "sub_7BF30", "pseudocode": "// \n// sub_7BF30 from 0x7bf30 to 0x7bf64 (52 bytes)\n// \n// 1 xrefs:\n// > sub_7B758 @ 0x7b75c\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:41:14 +0000\n// \n\nint __fastcall sub_7BF30(int a1)\n{\n  int v1; // r1\n\n  v1 = *(_DWORD *)(a1 + 300);\n  if ( v1 )\n  {\n    sub_BD7AC(*(int *)((char *)&dword_14C + (_DWORD)off_E8000), v1, \"../../src/fmod_codec_mpeg.cpp\", 671, 1);\n    *(_DWORD *)(a1 + 300) = 0;\n  }\n  return 0;\n}", "assembly": "; \n; sub_7BF30 from 0x7bf30 to 0x7bf64 (52 bytes)\n; \n; 1 xrefs:\n; > sub_7B758 @ 0x7b75c\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:41:14 +0000\n; \nPUSH            {R2-R4,R6,R7,LR}                                       ; +0x0, 0x7bf30\nADD             R7, SP, #0x10                                          ; +0x2, 0x7bf32\nLDR.W           R1, [R0,#0x12C]                                        ; +0x4, 0x7bf34\nCBZ             R1, loc_7BF5E                                          ; +0x8, 0x7bf38\nMOV             R4, R0                                                 ; +0xa, 0x7bf3a\nLDR             R0, =(off_E6144 - 0x7BF48)                             ; +0xc, 0x7bf3c\nMOVS            R2, #1                                                 ; +0xe, 0x7bf3e\nMOVW            R3, #0x29F                                             ; +0x10, 0x7bf40\nADD             R0, PC; off_E6144                                      ; +0x14, 0x7bf44\nLDR             R0, [R0]; off_E8000                                    ; +0x16, 0x7bf46\nLDR             R0, [R0]; dword_F2488                                  ; +0x18, 0x7bf48\nLDR.W           R0, [R0,#(dword_F25D4 - 0xF2488)]                      ; +0x1a, 0x7bf4a\nSTR             R2, [SP,#8+var_8]                                      ; +0x1e, 0x7bf4e\nLDR             R2, =(aSrcFmodCodecMp - 0x7BF56); \"../../src/fmod_codec_mpeg.cpp\" ... ; +0x20, 0x7bf50\nADD             R2, PC; \"../../src/fmod_codec_mpeg.cpp\"                ; +0x22, 0x7bf52\nBL              sub_BD7AC                                              ; +0x24, 0x7bf54\nMOVS            R0, #0                                                 ; +0x28, 0x7bf58\nSTR.W           R0, [R4,#0x12C]                                        ; +0x2a, 0x7bf5a\nMOVS            R0, #0                                                 ; +0x2e, 0x7bf5e\nADD             SP, SP, #8                                             ; +0x30, 0x7bf60\nPOP             {R4,R6,R7,PC}                                          ; +0x32, 0x7bf62", "xrefs": ["sub_7B758 @ 0x7b75c"], "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"}