{"type": "func", "start": 456948, "end": 457136, "name": "sub_6F8F4", "pseudocode": "// \n// sub_6F8F4 from 0x6f8f4 to 0x6f9b0 (188 bytes)\n// \n// 1 xrefs:\n// > FMOD::System::setGeometrySettings @ 0xdeac8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:13:59 +0000\n// \n\n__int64 __fastcall sub_6F8F4(__int64 a1, float a2)\n{\n  __int64 result; // x0\n  _QWORD *v4; // x20\n  _QWORD *v5; // x19\n\n  if ( (~LODWORD(a2) & 0x7F800000) == 0 )\n    return 29;\n  if ( a2 <= 0.0 )\n    return 31;\n  result = sub_5D420(a1 + 73144, a2);\n  if ( !(_DWORD)result )\n  {\n    v4 = (_QWORD *)(a1 + 73136);\n    v5 = *(_QWORD **)(a1 + 73136);\n    if ( v5 )\n    {\n      do\n      {\n        sub_5F190((__int64)v5);\n        v5 = (_QWORD *)*v5;\n      }\n      while ( (_QWORD *)*v4 != v5 );\n      do\n      {\n        result = sub_5F0D0();\n        if ( (_DWORD)result )\n          break;\n        v5 = (_QWORD *)*v5;\n      }\n      while ( (_QWORD *)*v4 != v5 );\n    }\n    else\n    {\n      return 0;\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_6F8F4 from 0x6f8f4 to 0x6f9b0 (188 bytes)\n; \n; 1 xrefs:\n; > FMOD::System::setGeometrySettings @ 0xdeac8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:13:59 +0000\n; \nSTR             D8, [SP,#-0x10+var_20]!                                ; +0x0, 0x6f8f4\nMOV             V8.16B, V0.16B                                         ; +0x4, 0x6f8f8\nFMOV            W8, S8                                                 ; +0x8, 0x6f8fc\nMVN             W8, W8                                                 ; +0xc, 0x6f900\nTST             W8, #0x7F800000                                        ; +0x10, 0x6f904\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x14, 0x6f908\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x18, 0x6f90c\nADD             X29, SP, #0x20                                         ; +0x1c, 0x6f910\nB.NE            loc_6F920                                              ; +0x20, 0x6f914\nMOV             W0, #0x1D                                              ; +0x24, 0x6f918\nB               loc_6F998                                              ; +0x28, 0x6f91c\nFCMP            S8, #0.0                                               ; +0x2c, 0x6f920\nB.LE            loc_6F994                                              ; +0x30, 0x6f924\nMOV             W8, #0x11DB8                                           ; +0x34, 0x6f928\nMOV             X19, X0                                                ; +0x3c, 0x6f930\nADD             X0, X0, X8                                             ; +0x40, 0x6f934\nMOV             V0.16B, V8.16B                                         ; +0x44, 0x6f938\nBL              sub_5D420                                              ; +0x48, 0x6f93c\nCBNZ            W0, loc_6F998                                          ; +0x4c, 0x6f940\nMOV             W8, #0x11DB0                                           ; +0x50, 0x6f944\nADD             X20, X19, X8                                           ; +0x58, 0x6f94c\nLDR             X19, [X20]                                             ; +0x5c, 0x6f950\nCBZ             X19, loc_6F9A8                                         ; +0x60, 0x6f954\nMOV             X0, X19                                                ; +0x64, 0x6f958\nBL              sub_5F190                                              ; +0x68, 0x6f95c\nLDR             X19, [X19]                                             ; +0x6c, 0x6f960\nLDR             X8, [X20]                                              ; +0x70, 0x6f964\nCMP             X8, X19                                                ; +0x74, 0x6f968\nB.NE            loc_6F958                                              ; +0x78, 0x6f96c\nMOV             X0, X19                                                ; +0x7c, 0x6f970\nMOV             V0.16B, V8.16B                                         ; +0x80, 0x6f974\nBL              sub_5F0D0                                              ; +0x84, 0x6f978\nCBNZ            W0, loc_6F998                                          ; +0x88, 0x6f97c\nLDR             X19, [X19]                                             ; +0x8c, 0x6f980\nLDR             X8, [X20]                                              ; +0x90, 0x6f984\nCMP             X8, X19                                                ; +0x94, 0x6f988\nB.NE            loc_6F970                                              ; +0x98, 0x6f98c\nB               loc_6F998                                              ; +0x9c, 0x6f990\nMOV             W0, #0x1F                                              ; +0xa0, 0x6f994\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0xa4, 0x6f998\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0xa8, 0x6f99c\nLDR             D8, [SP+0x20+var_20],#0x30                             ; +0xac, 0x6f9a0\nRET                                                                    ; +0xb0, 0x6f9a4\nMOV             W0, WZR                                                ; +0xb4, 0x6f9a8\nB               loc_6F998                                              ; +0xb8, 0x6f9ac", "xrefs": ["FMOD::System::setGeometrySettings @ 0xdeac8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}