{"type": "func", "start": 409188, "end": 409324, "name": "sub_63E64", "pseudocode": "// \n// sub_63E64 from 0x63e64 to 0x63eec (136 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10c8c8\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_63E64(_QWORD *a1, __int64 a2)\n{\n  __int64 v3; // x20\n  __int64 v4; // x0\n  __int64 v5; // x8\n  unsigned int v6; // w20\n\n  if ( a2 )\n  {\n    v3 = a2;\n    v4 = sub_642EC(a1[8]);\n    v5 = a1[6];\n    *(_QWORD *)(v3 + 8) = a1 + 5;\n    v3 += 8;\n    *(_QWORD *)(v3 + 8) = v5;\n    a1[6] = v3;\n    **(_QWORD **)(v3 + 8) = v3;\n    v6 = 28;\n    if ( (_QWORD *)a1[2] == a1 + 2 )\n    {\n      if ( (_QWORD *)a1[3] == a1 + 2 )\n        v6 = 0;\n      else\n        v6 = 28;\n    }\n    sub_642D8(v4);\n  }\n  else\n  {\n    return 31;\n  }\n  return v6;\n}", "assembly": "; \n; sub_63E64 from 0x63e64 to 0x63eec (136 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10c8c8\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, #0x30                                          ; +0x0, 0x63e64\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x63e68\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x63e6c\nADD             X29, SP, #0x20                                         ; +0xc, 0x63e70\nCBZ             X1, loc_63ED4                                          ; +0x10, 0x63e74\nMOV             X19, X0                                                ; +0x14, 0x63e78\nLDR             X0, [X0,#0x40]                                         ; +0x18, 0x63e7c\nMOV             X20, X1                                                ; +0x1c, 0x63e80\nBL              sub_642EC                                              ; +0x20, 0x63e84\nMOV             W8, #1                                                 ; +0x24, 0x63e88\nSTRB            W8, [SP,#0x20+var_18]                                  ; +0x28, 0x63e8c\nLDR             X8, [X19,#0x30]                                        ; +0x2c, 0x63e90\nADD             X9, X19, #0x28 ; '('                                   ; +0x30, 0x63e94\nSTR             X9, [X20,#8]!                                          ; +0x34, 0x63e98\nSTR             X8, [X20,#8]                                           ; +0x38, 0x63e9c\nSTR             X20, [X19,#0x30]                                       ; +0x3c, 0x63ea0\nLDR             X8, [X20,#8]                                           ; +0x40, 0x63ea4\nSTR             X20, [X8]                                              ; +0x44, 0x63ea8\nMOV             X8, X19                                                ; +0x48, 0x63eac\nLDR             X9, [X8,#0x10]!                                        ; +0x4c, 0x63eb0\nMOV             W20, #0x1C                                             ; +0x50, 0x63eb4\nCMP             X9, X8                                                 ; +0x54, 0x63eb8\nB.NE            loc_63ECC                                              ; +0x58, 0x63ebc\nLDR             X9, [X19,#0x18]                                        ; +0x5c, 0x63ec0\nCMP             X9, X8                                                 ; +0x60, 0x63ec4\nCSEL            W20, WZR, W20, EQ                                      ; +0x64, 0x63ec8\nBL              sub_642D8                                              ; +0x68, 0x63ecc\nB               loc_63ED8                                              ; +0x6c, 0x63ed0\nMOV             W20, #0x1F                                             ; +0x70, 0x63ed4\nMOV             W0, W20                                                ; +0x74, 0x63ed8\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x78, 0x63edc\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x7c, 0x63ee0\nADD             SP, SP, #0x30 ; '0'                                    ; +0x80, 0x63ee4\nRET                                                                    ; +0x84, 0x63ee8", "xrefs": ["<???> @ 0x10c8c8"], "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"}