{"type": "func", "start": 457152, "end": 457308, "name": "sub_6F9C0", "pseudocode": "// \n// sub_6F9C0 from 0x6f9c0 to 0x6fa5c (156 bytes)\n// \n// 1 xrefs:\n// > FMOD::System::loadGeometry @ 0xdeba4\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_6F9C0(__int64 a1, __int64 a2, __int64 a3, __int64 *a4)\n{\n  int v4; // w21\n  __int64 result; // x0\n  __int64 v9; // x0\n  __int64 v10; // x0\n  __int64 v11; // x0\n  __int64 *v12; // x8\n  __int64 v13; // x9\n\n  result = 31;\n  if ( a2 )\n  {\n    if ( a4 )\n    {\n      result = sub_70480(31);\n      if ( !(_DWORD)result )\n      {\n        v9 = sub_702DC();\n        v10 = sub_702C8(v9);\n        *a4 = v10;\n        if ( v10 )\n        {\n          sub_5D92C(v10, a1 + 73144);\n          result = sub_5EEE4(*a4, a2, v4);\n          if ( !(_DWORD)result )\n          {\n            v11 = sub_704C0();\n            if ( v13 )\n              sub_70254(v11);\n            *v12 = *a4;\n            return 0;\n          }\n        }\n        else\n        {\n          return 38;\n        }\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_6F9C0 from 0x6f9c0 to 0x6fa5c (156 bytes)\n; \n; 1 xrefs:\n; > FMOD::System::loadGeometry @ 0xdeba4\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\nSTR             X23, [SP,#-0x10+var_30]!                               ; +0x0, 0x6f9c0\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x6f9c4\nMOV             X20, X0                                                ; +0x8, 0x6f9c8\nMOV             W0, #0x1F                                              ; +0xc, 0x6f9cc\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x10, 0x6f9d0\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x14, 0x6f9d4\nADD             X29, SP, #0x30                                         ; +0x18, 0x6f9d8\nCBZ             X1, loc_6FA00                                          ; +0x1c, 0x6f9dc\nMOV             X19, X3                                                ; +0x20, 0x6f9e0\nCBZ             X3, loc_6FA00                                          ; +0x24, 0x6f9e4\nMOV             W8, #0x11DB8                                           ; +0x28, 0x6f9e8\nADD             X23, X20, X8                                           ; +0x30, 0x6f9f0\nMOV             X22, X1                                                ; +0x34, 0x6f9f4\nBL              sub_70480                                              ; +0x38, 0x6f9f8\nCBZ             W0, loc_6FA08                                          ; +0x3c, 0x6f9fc\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x40, 0x6fa00\nB               loc_70168                                              ; +0x44, 0x6fa04\nBL              sub_702DC                                              ; +0x48, 0x6fa08\nMOV             W3, #0x16C3                                            ; +0x4c, 0x6fa0c\nBL              sub_702C8                                              ; +0x50, 0x6fa10\nSTR             X0, [X19]                                              ; +0x54, 0x6fa14\nCBZ             X0, loc_6FA54                                          ; +0x58, 0x6fa18\nMOV             X1, X23                                                ; +0x5c, 0x6fa1c\nBL              sub_5D92C                                              ; +0x60, 0x6fa20\nLDR             X0, [X19]                                              ; +0x64, 0x6fa24\nMOV             X1, X22                                                ; +0x68, 0x6fa28\nMOV             W2, W21                                                ; +0x6c, 0x6fa2c\nBL              sub_5EEE4                                              ; +0x70, 0x6fa30\nCBNZ            W0, loc_6FA00                                          ; +0x74, 0x6fa34\nBL              sub_704C0                                              ; +0x78, 0x6fa38\nCBZ             X9, loc_6FA44                                          ; +0x7c, 0x6fa3c\nBL              sub_70254                                              ; +0x80, 0x6fa40\nLDR             X9, [X19]                                              ; +0x84, 0x6fa44\nMOV             W0, WZR                                                ; +0x88, 0x6fa48\nSTR             X9, [X8]                                               ; +0x8c, 0x6fa4c\nB               loc_6FA00                                              ; +0x90, 0x6fa50\nMOV             W0, #0x26 ; '&'                                        ; +0x94, 0x6fa54\nB               loc_6FA00                                              ; +0x98, 0x6fa58", "xrefs": ["FMOD::System::loadGeometry @ 0xdeba4"], "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"}