{"type": "func", "start": 491156, "end": 491244, "name": "sub_77E94", "pseudocode": "// \n// sub_77E94 from 0x77e94 to 0x77eec (88 bytes)\n// \n// 2 xrefs:\n// > sub_6B00C @ 0x6b42c\n// > <???> @ 0x10f848\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_77E94(__int64 a1, __int64 a2, __int64 a3, __int64 a4)\n{\n  __int64 result; // x0\n  __int64 v5; // x0\n  __int64 v6; // x1\n  __int64 v7; // x2\n  __int64 v8; // x3\n  int v9; // w4\n\n  if ( !a1 )\n    return 31;\n  result = 31;\n  if ( a3 && a4 )\n  {\n    result = sub_78050(31);\n    if ( !(_DWORD)result )\n    {\n      v5 = sub_78068();\n      return sub_72404(v5, v6, v7, v8, v9);\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_77E94 from 0x77e94 to 0x77eec (88 bytes)\n; \n; 2 xrefs:\n; > sub_6B00C @ 0x6b42c\n; > <???> @ 0x10f848\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\nCBZ             X0, loc_77EA4                                          ; +0x0, 0x77e94\nLDR             X8, [X0]                                               ; +0x4, 0x77e98\nLDR             X0, [X8,#0xA8]                                         ; +0x8, 0x77e9c\nB               loc_77EAC                                              ; +0xc, 0x77ea0\nMOV             W0, #0x1F                                              ; +0x10, 0x77ea4\nRET                                                                    ; +0x14, 0x77ea8\nSUB             SP, SP, #0x40 ; '@'                                    ; +0x18, 0x77eac\nMOV             X8, X0                                                 ; +0x1c, 0x77eb0\nMOV             W0, #0x1F                                              ; +0x20, 0x77eb4\nSTP             X22, X21, [SP,#0x40+var_30]                            ; +0x24, 0x77eb8\nSTP             X20, X19, [SP,#0x40+var_20]                            ; +0x28, 0x77ebc\nSTP             X29, X30, [SP,#0x40+var_10]                            ; +0x2c, 0x77ec0\nADD             X29, SP, #0x40+var_10                                  ; +0x30, 0x77ec4\nCBZ             X2, loc_77EE4                                          ; +0x34, 0x77ec8\nMOV             X21, X3                                                ; +0x38, 0x77ecc\nCBZ             X3, loc_77EE4                                          ; +0x3c, 0x77ed0\nBL              sub_78050                                              ; +0x40, 0x77ed4\nCBNZ            W0, loc_77EE4                                          ; +0x44, 0x77ed8\nBL              sub_78068                                              ; +0x48, 0x77edc\nBL              sub_72404                                              ; +0x4c, 0x77ee0\nLDP             X29, X30, [SP,#0x40+var_10]                            ; +0x50, 0x77ee4\nB               loc_78080                                              ; +0x54, 0x77ee8", "xrefs": ["sub_6B00C @ 0x6b42c", "<???> @ 0x10f848"], "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"}