{"type": "func", "start": 365076, "end": 365132, "name": "sub_59214", "pseudocode": "// \n// sub_59214 from 0x59214 to 0x5924c (56 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10c510\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_59214(__int64 a1, __int64 a2)\n{\n  __int64 result; // x0\n\n  result = sub_56824(a1, a2);\n  if ( !(_DWORD)result && (!a2 || *(_QWORD *)(a1 + 584) == a2) )\n    *(_QWORD *)(a1 + 584) = 0;\n  return result;\n}", "assembly": "; \n; sub_59214 from 0x59214 to 0x5924c (56 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10c510\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x59214\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x59218\nADD             X29, SP, #0x10                                         ; +0x8, 0x5921c\nMOV             X20, X1                                                ; +0xc, 0x59220\nMOV             X19, X0                                                ; +0x10, 0x59224\nBL              sub_56824                                              ; +0x14, 0x59228\nCBNZ            W0, loc_59244                                          ; +0x18, 0x5922c\nCBZ             X20, loc_59240                                         ; +0x1c, 0x59230\nLDR             X8, [X19,#0x248]                                       ; +0x20, 0x59234\nCMP             X8, X20                                                ; +0x24, 0x59238\nB.NE            loc_59244                                              ; +0x28, 0x5923c\nSTR             XZR, [X19,#0x248]                                      ; +0x2c, 0x59240\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x30, 0x59244\nB               loc_5940C                                              ; +0x34, 0x59248", "xrefs": ["<???> @ 0x10c510"], "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"}