{"type": "func", "start": 377156, "end": 377236, "name": "sub_5C144", "pseudocode": "// \n// sub_5C144 from 0x5c144 to 0x5c194 (80 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10c818\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_5C144(__int64 a1, _DWORD *a2)\n{\n  __int64 v2; // x8\n  __int64 result; // x0\n  __int64 v4; // x8\n\n  v2 = *(_QWORD *)(a1 + 472);\n  if ( v2 && *(_QWORD *)(a1 + 32) )\n  {\n    if ( *(_QWORD *)(v2 + 40) )\n    {\n      result = sub_68884();\n      if ( (_DWORD)result )\n        return result;\n      return 0;\n    }\n    v4 = *(_QWORD *)(v2 + 48);\n    if ( v4 )\n    {\n      *a2 = *(unsigned __int16 *)(v4 + 280);\n      return 0;\n    }\n  }\n  return 30;\n}", "assembly": "; \n; sub_5C144 from 0x5c144 to 0x5c194 (80 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10c818\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\nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0x5c144\nLDR             X8, [X0,#0x1D8]                                        ; +0x4, 0x5c148\nMOV             X29, SP                                                ; +0x8, 0x5c14c\nCBZ             X8, loc_5C188                                          ; +0xc, 0x5c150\nLDR             X9, [X0,#0x20]                                         ; +0x10, 0x5c154\nCBZ             X9, loc_5C188                                          ; +0x14, 0x5c158\nLDR             X0, [X8,#0x28]                                         ; +0x18, 0x5c15c\nCBZ             X0, loc_5C170                                          ; +0x1c, 0x5c160\nBL              sub_68884                                              ; +0x20, 0x5c164\nCBNZ            W0, loc_5C18C                                          ; +0x24, 0x5c168\nB               loc_5C180                                              ; +0x28, 0x5c16c\nLDR             X8, [X8,#0x30]                                         ; +0x2c, 0x5c170\nCBZ             X8, loc_5C188                                          ; +0x30, 0x5c174\nLDRH            W8, [X8,#0x118]                                        ; +0x34, 0x5c178\nSTR             W8, [X1]                                               ; +0x38, 0x5c17c\nMOV             W0, WZR                                                ; +0x3c, 0x5c180\nB               loc_5C18C                                              ; +0x40, 0x5c184\nMOV             W0, #0x1E                                              ; +0x44, 0x5c188\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x48, 0x5c18c\nRET                                                                    ; +0x4c, 0x5c190", "xrefs": ["<???> @ 0x10c818"], "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"}