{"type": "func", "start": 416364, "end": 416444, "name": "sub_65A6C", "pseudocode": "// \n// sub_65A6C from 0x65a6c to 0x65abc (80 bytes)\n// \n// 2 xrefs:\n// > sub_6A544 @ 0x6a7dc\n// > sub_77BA0 @ 0x77c18\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:55 +0000\n// \n\n__int64 __fastcall sub_65A6C(__int64 a1)\n{\n  __int64 result; // x0\n\n  result = *(_QWORD *)(a1 + 8);\n  if ( result )\n  {\n    result = sub_CB928(result, 0, 0, 4);\n    if ( !(_DWORD)result )\n    {\n      result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 8) + 16LL))(*(_QWORD *)(a1 + 8));\n      if ( !(_DWORD)result )\n        *(_QWORD *)(a1 + 8) = 0;\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_65A6C from 0x65a6c to 0x65abc (80 bytes)\n; \n; 2 xrefs:\n; > sub_6A544 @ 0x6a7dc\n; > sub_77BA0 @ 0x77c18\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:55 +0000\n; \nSTR             X19, [SP,#-0x10+var_10]!                               ; +0x0, 0x65a6c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x65a70\nMOV             X19, X0                                                ; +0x8, 0x65a74\nLDR             X0, [X0,#8]                                            ; +0xc, 0x65a78\nADD             X29, SP, #0x10                                         ; +0x10, 0x65a7c\nCBZ             X0, loc_65AB0                                          ; +0x14, 0x65a80\nMOV             W3, #4                                                 ; +0x18, 0x65a84\nMOV             X1, XZR                                                ; +0x1c, 0x65a88\nMOV             X2, XZR                                                ; +0x20, 0x65a8c\nBL              sub_CB928                                              ; +0x24, 0x65a90\nCBNZ            W0, loc_65AB0                                          ; +0x28, 0x65a94\nLDR             X0, [X19,#8]                                           ; +0x2c, 0x65a98\nLDR             X8, [X0]                                               ; +0x30, 0x65a9c\nLDR             X8, [X8,#0x10]                                         ; +0x34, 0x65aa0\nBLR             X8                                                     ; +0x38, 0x65aa4\nCBNZ            W0, loc_65AB0                                          ; +0x3c, 0x65aa8\nSTR             XZR, [X19,#8]                                          ; +0x40, 0x65aac\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x44, 0x65ab0\nLDR             X19, [SP+0x10+var_10],#0x20                            ; +0x48, 0x65ab4\nRET                                                                    ; +0x4c, 0x65ab8", "xrefs": ["sub_6A544 @ 0x6a7dc", "sub_77BA0 @ 0x77c18"], "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"}