{"type": "func", "start": 411040, "end": 411116, "name": "sub_645A0", "pseudocode": "// \n// sub_645A0 from 0x645a0 to 0x645ec (76 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10c938\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_645A0(__int64 a1, __int64 a2)\n{\n  __int64 v2; // x8\n  __int64 result; // x0\n\n  v2 = *(_QWORD *)(a1 + 88);\n  if ( !v2 )\n    return 0;\n  LODWORD(result) = sub_645EC(a2, v2, 0);\n  if ( (_DWORD)result == 45 )\n    result = 0;\n  else\n    result = (unsigned int)result;\n  if ( !(_DWORD)result )\n    *(_QWORD *)(a1 + 88) = 0;\n  return result;\n}", "assembly": "; \n; sub_645A0 from 0x645a0 to 0x645ec (76 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10c938\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\nSTR             X19, [SP,#-0x10+var_10]!                               ; +0x0, 0x645a0\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x645a4\nLDR             X8, [X0,#0x58]                                         ; +0x8, 0x645a8\nADD             X29, SP, #0x10                                         ; +0xc, 0x645ac\nCBZ             X8, loc_645DC                                          ; +0x10, 0x645b0\nMOV             X19, X0                                                ; +0x14, 0x645b4\nMOV             X0, X1                                                 ; +0x18, 0x645b8\nMOV             X1, X8                                                 ; +0x1c, 0x645bc\nMOV             X2, XZR                                                ; +0x20, 0x645c0\nBL              sub_645EC                                              ; +0x24, 0x645c4\nCMP             W0, #0x2D ; '-'                                        ; +0x28, 0x645c8\nCSEL            W0, WZR, W0, EQ                                        ; +0x2c, 0x645cc\nCBNZ            W0, loc_645E0                                          ; +0x30, 0x645d0\nSTR             XZR, [X19,#0x58]                                       ; +0x34, 0x645d4\nB               loc_645E0                                              ; +0x38, 0x645d8\nMOV             W0, WZR                                                ; +0x3c, 0x645dc\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x40, 0x645e0\nLDR             X19, [SP+0x10+var_10],#0x20                            ; +0x44, 0x645e4\nRET                                                                    ; +0x48, 0x645e8", "xrefs": ["<???> @ 0x10c938"], "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"}