{"type": "func", "start": 491244, "end": 491332, "name": "sub_77EEC", "pseudocode": "// \n// sub_77EEC from 0x77eec to 0x77f44 (88 bytes)\n// \n// 2 xrefs:\n// > sub_6B00C @ 0x6b460\n// > <???> @ 0x10f850\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_77EEC(__int64 a1, __int64 a2, __int64 a3, __int64 a4)\n{\n  __int64 result; // x0\n  __int64 v5; // x0\n  __int64 v6; // x1\n  float *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_7259C(v5, v6, v7, v8, v9);\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_77EEC from 0x77eec to 0x77f44 (88 bytes)\n; \n; 2 xrefs:\n; > sub_6B00C @ 0x6b460\n; > <???> @ 0x10f850\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_77EFC                                          ; +0x0, 0x77eec\nLDR             X8, [X0]                                               ; +0x4, 0x77ef0\nLDR             X0, [X8,#0xA8]                                         ; +0x8, 0x77ef4\nB               loc_77F04                                              ; +0xc, 0x77ef8\nMOV             W0, #0x1F                                              ; +0x10, 0x77efc\nRET                                                                    ; +0x14, 0x77f00\nSUB             SP, SP, #0x40 ; '@'                                    ; +0x18, 0x77f04\nMOV             X8, X0                                                 ; +0x1c, 0x77f08\nMOV             W0, #0x1F                                              ; +0x20, 0x77f0c\nSTP             X22, X21, [SP,#0x40+var_30]                            ; +0x24, 0x77f10\nSTP             X20, X19, [SP,#0x40+var_20]                            ; +0x28, 0x77f14\nSTP             X29, X30, [SP,#0x40+var_10]                            ; +0x2c, 0x77f18\nADD             X29, SP, #0x40+var_10                                  ; +0x30, 0x77f1c\nCBZ             X2, loc_77F3C                                          ; +0x34, 0x77f20\nMOV             X21, X3                                                ; +0x38, 0x77f24\nCBZ             X3, loc_77F3C                                          ; +0x3c, 0x77f28\nBL              sub_78050                                              ; +0x40, 0x77f2c\nCBNZ            W0, loc_77F3C                                          ; +0x44, 0x77f30\nBL              sub_78068                                              ; +0x48, 0x77f34\nBL              sub_7259C                                              ; +0x4c, 0x77f38\nLDP             X29, X30, [SP,#0x40+var_10]                            ; +0x50, 0x77f3c\nB               loc_78080                                              ; +0x54, 0x77f40", "xrefs": ["sub_6B00C @ 0x6b460", "<???> @ 0x10f850"], "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"}