{"type": "func", "start": 456600, "end": 456692, "name": "sub_6F798", "pseudocode": "// \n// sub_6F798 from 0x6f798 to 0x6f7f4 (92 bytes)\n// \n// 1 xrefs:\n// > FMOD::System::getRecordPosition @ 0xde690\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 sub_6F798()\n{\n  _DWORD *v0; // x19\n  int v1; // w20\n  __int64 v2; // x21\n  __int64 result; // x0\n  __int64 v4; // x10\n\n  result = sub_702B4();\n  if ( !(_DWORD)result )\n  {\n    if ( v1 < 0 || *(_DWORD *)(v2 + 1684) <= v1 )\n    {\n      return 31;\n    }\n    else\n    {\n      if ( v0 )\n      {\n        v4 = *(_QWORD *)(*(_QWORD *)(v2 + 1696) + 56LL * v1 + 48);\n        if ( v4 )\n          LODWORD(v4) = *(_DWORD *)(v4 + 52);\n        *v0 = v4;\n      }\n      return sub_70270();\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_6F798 from 0x6f798 to 0x6f7f4 (92 bytes)\n; \n; 1 xrefs:\n; > FMOD::System::getRecordPosition @ 0xde690\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             X21, [SP,#var_30]!                                     ; +0x0, 0x6f798\nSTP             X20, X19, [SP,#0x30+var_20]                            ; +0x4, 0x6f79c\nSTP             X29, X30, [SP,#0x30+var_10]                            ; +0x8, 0x6f7a0\nBL              sub_702B4                                              ; +0xc, 0x6f7a4\nCBNZ            W0, loc_6F7EC                                          ; +0x10, 0x6f7a8\nTBNZ            W20, #0x1F, loc_6F7E8                                  ; +0x14, 0x6f7ac\nLDR             W8, [X21,#0x694]                                       ; +0x18, 0x6f7b0\nCMP             W8, W20                                                ; +0x1c, 0x6f7b4\nB.LE            loc_6F7E8                                              ; +0x20, 0x6f7b8\nLDR             X8, [X21,#0x6A0]                                       ; +0x24, 0x6f7bc\nSXTW            X9, W20                                                ; +0x28, 0x6f7c0\nCBZ             X19, loc_6F7E0                                         ; +0x2c, 0x6f7c4\nMOV             W10, #0x38 ; '8'                                       ; +0x30, 0x6f7c8\nMADD            X10, X9, X10, X8                                       ; +0x34, 0x6f7cc\nLDR             X10, [X10,#0x30]                                       ; +0x38, 0x6f7d0\nCBZ             X10, loc_6F7DC                                         ; +0x3c, 0x6f7d4\nLDR             W10, [X10,#0x34]                                       ; +0x40, 0x6f7d8\nSTR             W10, [X19]                                             ; +0x44, 0x6f7dc\nBL              sub_70270                                              ; +0x48, 0x6f7e0\nB               loc_6F7EC                                              ; +0x4c, 0x6f7e4\nMOV             W0, #0x1F                                              ; +0x50, 0x6f7e8\nLDP             X29, X30, [SP,#0x30+var_10]                            ; +0x54, 0x6f7ec\nB               loc_70108                                              ; +0x58, 0x6f7f0", "xrefs": ["FMOD::System::getRecordPosition @ 0xde690"], "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"}