{"type": "func", "start": 438752, "end": 438850, "name": "sub_6B1E0", "pseudocode": "// \n// sub_6B1E0 from 0x6b1e0 to 0x6b242 (98 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x6b1de\n// > sub_52054 @ 0x520a0\n// > sub_522EC @ 0x52510\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:40:58 +0000\n// \n\nint __fastcall sub_6B1E0(_DWORD *a1)\n{\n  int result; // r0\n  int v3; // r1\n  int v4; // r1\n\n  result = sub_6B24C(a1);\n  if ( !result )\n  {\n    result = sub_BE788(a1 + 6, v3);\n    if ( !result )\n    {\n      result = sub_BE788(a1 + 81, v4);\n      if ( !result )\n      {\n        result = j_FMOD_OS_CriticalSection_Free(a1[5], 0);\n        if ( !result )\n        {\n          result = sub_6AFD4(a1 + 285);\n          if ( !result )\n          {\n            result = sub_6AFD4(a1 + 297);\n            if ( !result )\n            {\n              sub_BD7AC(\n                *(int *)((char *)&dword_14C + (_DWORD)off_E8000),\n                a1,\n                \"../../src/fmod_profile_client.cpp\",\n                456,\n                1);\n              return 0;\n            }\n          }\n        }\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_6B1E0 from 0x6b1e0 to 0x6b242 (98 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x6b1de\n; > sub_52054 @ 0x520a0\n; > sub_522EC @ 0x52510\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:40:58 +0000\n; \nPUSH            {R2-R4,R6,R7,LR}                                       ; +0x0, 0x6b1e0\nADD             R7, SP, #0x10                                          ; +0x2, 0x6b1e2\nMOV             R4, R0                                                 ; +0x4, 0x6b1e4\nBL              sub_6B24C                                              ; +0x6, 0x6b1e6\nCBNZ            R0, loc_6B23E                                          ; +0xa, 0x6b1ea\nADD.W           R0, R4, #0x18                                          ; +0xc, 0x6b1ec\nBL              sub_BE788                                              ; +0x10, 0x6b1f0\nCBNZ            R0, loc_6B23E                                          ; +0x14, 0x6b1f4\nADD.W           R0, R4, #0x144                                         ; +0x16, 0x6b1f6\nBL              sub_BE788                                              ; +0x1a, 0x6b1fa\nCBNZ            R0, loc_6B23E                                          ; +0x1e, 0x6b1fe\nLDR             R0, [R4,#0x14]                                         ; +0x20, 0x6b200\nMOVS            R1, #0                                                 ; +0x22, 0x6b202\nBLX             j_FMOD_OS_CriticalSection_Free                         ; +0x24, 0x6b204\nCBNZ            R0, loc_6B23E                                          ; +0x28, 0x6b208\nADDW            R0, R4, #0x474                                         ; +0x2a, 0x6b20a\nBL              sub_6AFD4                                              ; +0x2e, 0x6b20e\nCBNZ            R0, loc_6B23E                                          ; +0x32, 0x6b212\nADDW            R0, R4, #0x4A4                                         ; +0x34, 0x6b214\nBL              sub_6AFD4                                              ; +0x38, 0x6b218\nCBNZ            R0, loc_6B23E                                          ; +0x3c, 0x6b21c\nLDR             R0, =(off_E6144 - 0x6B22A)                             ; +0x3e, 0x6b21e\nMOVS            R1, #1                                                 ; +0x40, 0x6b220\nMOV.W           R3, #0x1C8                                             ; +0x42, 0x6b222\nADD             R0, PC; off_E6144                                      ; +0x46, 0x6b226\nLDR             R0, [R0]; off_E8000                                    ; +0x48, 0x6b228\nLDR             R0, [R0]; dword_F2488                                  ; +0x4a, 0x6b22a\nLDR.W           R0, [R0,#(dword_F25D4 - 0xF2488)]                      ; +0x4c, 0x6b22c\nSTR             R1, [SP,#8+var_8]                                      ; +0x50, 0x6b230\nMOV             R1, R4                                                 ; +0x52, 0x6b232\nLDR             R2, =(aSrcFmodProfile_2 - 0x6B23A); \"../../src/fmod_profile_client.cpp\" ... ; +0x54, 0x6b234\nADD             R2, PC; \"../../src/fmod_profile_client.cpp\"            ; +0x56, 0x6b236\nBL              sub_BD7AC                                              ; +0x58, 0x6b238\nMOVS            R0, #0                                                 ; +0x5c, 0x6b23c\nADD             SP, SP, #8                                             ; +0x5e, 0x6b23e\nPOP             {R4,R6,R7,PC}                                          ; +0x60, 0x6b240", "xrefs": ["<???> @ 0x6b1de", "sub_52054 @ 0x520a0", "sub_522EC @ 0x52510"], "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"}