{"type": "func", "start": 440044, "end": 440108, "name": "sub_6B6EC", "pseudocode": "// \n// sub_6B6EC from 0x6b6ec to 0x6b72c (64 bytes)\n// \n// 2 xrefs:\n// > sub_6B648 @ 0x6b668\n// > FMOD::System::close @ 0xdc8f4\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\n__int64 __fastcall sub_6B6EC(__int64 a1)\n{\n  __int64 result; // x0\n\n  if ( *(_BYTE *)(a1 + 69984) )\n    return 28;\n  if ( !*(_BYTE *)(a1 + 8) )\n    return 0;\n  result = sub_6A544(a1, 0);\n  if ( !(_DWORD)result )\n    return 0;\n  return result;\n}", "assembly": "; \n; sub_6B6EC from 0x6b6ec to 0x6b72c (64 bytes)\n; \n; 2 xrefs:\n; > sub_6B648 @ 0x6b668\n; > FMOD::System::close @ 0xdc8f4\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\nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0x6b6ec\nMOV             W8, #0x11160                                           ; +0x4, 0x6b6f0\nLDRB            W8, [X0,X8]                                            ; +0xc, 0x6b6f8\nMOV             X29, SP                                                ; +0x10, 0x6b6fc\nCBZ             W8, loc_6B70C                                          ; +0x14, 0x6b700\nMOV             W0, #0x1C                                              ; +0x18, 0x6b704\nB               loc_6B724                                              ; +0x1c, 0x6b708\nLDRB            W8, [X0,#8]                                            ; +0x20, 0x6b70c\nCBZ             W8, loc_6B720                                          ; +0x24, 0x6b710\nMOV             W1, WZR                                                ; +0x28, 0x6b714\nBL              sub_6A544                                              ; +0x2c, 0x6b718\nCBNZ            W0, loc_6B724                                          ; +0x30, 0x6b71c\nMOV             W0, WZR                                                ; +0x34, 0x6b720\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x38, 0x6b724\nRET                                                                    ; +0x3c, 0x6b728", "xrefs": ["sub_6B648 @ 0x6b668", "FMOD::System::close @ 0xdc8f4"], "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"}