{"type": "func", "start": 356968, "end": 357064, "name": "sub_57268", "pseudocode": "// \n// sub_57268 from 0x57268 to 0x572c8 (96 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x10c560\n// > <???> @ 0x10c788\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 sub_57268()\n{\n  _DWORD *v0; // x19\n  _DWORD *v1; // x20\n  _DWORD *v2; // x21\n  _DWORD *v3; // x22\n  __int64 result; // x0\n  char v5; // [xsp+Ch] [xbp-34h]\n\n  result = ((__int64 (*)(void))loc_57880)();\n  if ( !(_DWORD)result )\n  {\n    if ( (v5 & 0x10) != 0 )\n    {\n      if ( v3 )\n        *v3 = v1[42];\n      if ( v2 )\n        *v2 = v1[43];\n      result = 0;\n      if ( v0 )\n        *v0 = v1[44];\n    }\n    else\n    {\n      return 40;\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_57268 from 0x57268 to 0x572c8 (96 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x10c560\n; > <???> @ 0x10c788\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\nSUB             SP, SP, #0x40                                          ; +0x0, 0x57268\nSTP             X22, X21, [SP,#0x40+var_30]                            ; +0x4, 0x5726c\nSTP             X20, X19, [SP,#0x40+var_20]                            ; +0x8, 0x57270\nSTP             X29, X30, [SP,#0x40+var_10]                            ; +0xc, 0x57274\nBL              loc_57880                                              ; +0x10, 0x57278\nCBNZ            W0, loc_572B8                                          ; +0x14, 0x5727c\nLDRB            W8, [SP,#0x40+var_34]                                  ; +0x18, 0x57280\nTBNZ            W8, #4, loc_57290                                      ; +0x1c, 0x57284\nMOV             W0, #0x28 ; '('                                        ; +0x20, 0x57288\nB               loc_572B8                                              ; +0x24, 0x5728c\nCBZ             X22, loc_5729C                                         ; +0x28, 0x57290\nLDR             W8, [X20,#0xA8]                                        ; +0x2c, 0x57294\nSTR             W8, [X22]                                              ; +0x30, 0x57298\nCBZ             X21, loc_572A8                                         ; +0x34, 0x5729c\nLDR             W8, [X20,#0xAC]                                        ; +0x38, 0x572a0\nSTR             W8, [X21]                                              ; +0x3c, 0x572a4\nMOV             W0, WZR                                                ; +0x40, 0x572a8\nCBZ             X19, loc_572B8                                         ; +0x44, 0x572ac\nLDR             W8, [X20,#0xB0]                                        ; +0x48, 0x572b0\nSTR             W8, [X19]                                              ; +0x4c, 0x572b4\nLDP             X29, X30, [SP,#0x40+var_10]                            ; +0x50, 0x572b8\nLDP             X20, X19, [SP,#0x40+var_20]                            ; +0x54, 0x572bc\nLDP             X22, X21, [SP,#0x40+var_30]                            ; +0x58, 0x572c0\nB               loc_57944                                              ; +0x5c, 0x572c4", "xrefs": ["<???> @ 0x10c560", "<???> @ 0x10c788"], "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"}