{"type": "func", "start": 494212, "end": 494308, "name": "sub_78A84", "pseudocode": "// \n// sub_78A84 from 0x78a84 to 0x78ae4 (96 bytes)\n// \n// 1 xrefs:\n// > FMOD::SystemI::createDiskFile @ 0x7899c\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_78A84(_QWORD *a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5, __int64 a6, __int64 a7)\n{\n  unsigned int v7; // w8\n\n  if ( a2 != 0 && a3 != 0 && a4 && a5 || (v7 = 28, a2 != 0 && a3 != 0 && a6 != 0) && a7 )\n  {\n    v7 = 0;\n    a1[63] = a2;\n    a1[64] = a3;\n    a1[65] = a4;\n    a1[66] = a5;\n    a1[67] = a6;\n    a1[68] = a7;\n  }\n  return v7;\n}", "assembly": "; \n; sub_78A84 from 0x78a84 to 0x78ae4 (96 bytes)\n; \n; 1 xrefs:\n; > FMOD::SystemI::createDiskFile @ 0x7899c\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\nCMP             X1, #0                                                 ; +0x0, 0x78a84\nCSET            W8, NE                                                 ; +0x4, 0x78a88\nCMP             X2, #0                                                 ; +0x8, 0x78a8c\nCSET            W9, NE                                                 ; +0xc, 0x78a90\nAND             W8, W8, W9                                             ; +0x10, 0x78a94\nCMP             W8, #1                                                 ; +0x14, 0x78a98\nB.NE            loc_78AA8                                              ; +0x18, 0x78a9c\nCBZ             X3, loc_78AA8                                          ; +0x1c, 0x78aa0\nCBNZ            X4, loc_78AC4                                          ; +0x20, 0x78aa4\nCMP             X5, #0                                                 ; +0x24, 0x78aa8\nCSET            W9, EQ                                                 ; +0x28, 0x78aac\nEOR             W8, W8, #1                                             ; +0x2c, 0x78ab0\nORR             W9, W8, W9                                             ; +0x30, 0x78ab4\nMOV             W8, #0x1C                                              ; +0x34, 0x78ab8\nTBNZ            W9, #0, loc_78ADC                                      ; +0x38, 0x78abc\nCBZ             X6, loc_78ADC                                          ; +0x3c, 0x78ac0\nMOV             W8, WZR                                                ; +0x40, 0x78ac4\nSTP             X1, X2, [X0,#0x1F8]                                    ; +0x44, 0x78ac8\nSTR             X3, [X0,#0x208]                                        ; +0x48, 0x78acc\nSTR             X4, [X0,#0x210]                                        ; +0x4c, 0x78ad0\nSTR             X5, [X0,#0x218]                                        ; +0x50, 0x78ad4\nSTR             X6, [X0,#0x220]                                        ; +0x54, 0x78ad8\nMOV             W0, W8                                                 ; +0x58, 0x78adc\nRET                                                                    ; +0x5c, 0x78ae0", "xrefs": ["FMOD::SystemI::createDiskFile @ 0x7899c"], "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"}