{"type": "func", "start": 490228, "end": 490344, "name": "sub_77AF4", "pseudocode": "// \n// sub_77AF4 from 0x77af4 to 0x77b68 (116 bytes)\n// \n// 1 xrefs:\n// > sub_6A544 @ 0x6a8b8\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:14:02 +0000\n// \n\n__int64 __fastcall sub_77AF4(__int64 a1, unsigned int a2)\n{\n  __int64 v2; // x8\n  _QWORD *v3; // x20\n  __int64 v4; // x19\n  __int64 result; // x0\n\n  v2 = a1 + 8LL * a2;\n  v3 = (_QWORD *)(v2 + 67968);\n  v4 = *(_QWORD *)(v2 + 67968);\n  if ( !v4 )\n    return 0;\n  result = sub_A7B1C(*(_QWORD *)(v2 + 67968));\n  if ( !(_DWORD)result )\n  {\n    sub_E2D74(*(__int64 *)((char *)&qword_1B0 + (_QWORD)off_114000), v4, \"../../src/fmod_systemi_dsp.cpp\", 658, 1);\n    *v3 = 0;\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_77AF4 from 0x77af4 to 0x77b68 (116 bytes)\n; \n; 1 xrefs:\n; > sub_6A544 @ 0x6a8b8\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:14:02 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x77af4\nMOV             W9, #0x980                                             ; +0x4, 0x77af8\nADD             X8, X0, W1,UXTW#3                                      ; +0x8, 0x77afc\nMOVK            W9, #1,LSL#16                                          ; +0xc, 0x77b00\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x10, 0x77b04\nADD             X20, X8, X9                                            ; +0x14, 0x77b08\nLDR             X19, [X20]                                             ; +0x18, 0x77b0c\nADD             X29, SP, #0x10                                         ; +0x1c, 0x77b10\nCBZ             X19, loc_77B58                                         ; +0x20, 0x77b14\nMOV             X0, X19                                                ; +0x24, 0x77b18\nBL              sub_A7B1C                                              ; +0x28, 0x77b1c\nCBNZ            W0, loc_77B5C                                          ; +0x2c, 0x77b20\nADRP            X8, #off_10F7A0@PAGE                                   ; +0x30, 0x77b24\nLDR             X8, [X8,#off_10F7A0@PAGEOFF]; off_114000               ; +0x34, 0x77b28\nADRL            X2, aSrcFmodSystemi_3; \"../../src/fmod_systemi_dsp.cpp\" ; +0x38, 0x77b2c\nMOV             W3, #0x292                                             ; +0x40, 0x77b34\nLDR             X8, [X8]; qword_11F800                                 ; +0x44, 0x77b38\nMOV             W4, #1                                                 ; +0x48, 0x77b3c\nMOV             X1, X19                                                ; +0x4c, 0x77b40\nLDR             X0, [X8,#(qword_11F9B0 - 0x11F800)]                    ; +0x50, 0x77b44\nBL              sub_E2D74                                              ; +0x54, 0x77b48\nMOV             W0, WZR                                                ; +0x58, 0x77b4c\nSTR             XZR, [X20]                                             ; +0x5c, 0x77b50\nB               loc_77B5C                                              ; +0x60, 0x77b54\nMOV             W0, WZR                                                ; +0x64, 0x77b58\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x68, 0x77b5c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x6c, 0x77b60\nRET                                                                    ; +0x70, 0x77b64", "xrefs": ["sub_6A544 @ 0x6a8b8"], "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"}