{"type": "func", "start": 409600, "end": 409676, "name": "sub_64000", "pseudocode": "// \n// sub_64000 from 0x64000 to 0x6404c (76 bytes)\n// \n// 3 xrefs:\n// > sub_83A70 @ 0x83aa8\n// > sub_83AE8 @ 0x83b14\n// > sub_83B3C @ 0x83b78\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:13:54 +0000\n// \n\n__int64 __fastcall sub_64000(__int64 a1, unsigned __int8 a2)\n{\n  __int64 v2; // x20\n  _QWORD *v3; // x21\n  _QWORD *v5; // x22\n\n  v3 = (_QWORD *)(a1 + 40);\n  v5 = (_QWORD *)(a1 + 40);\n  while ( 1 )\n  {\n    v5 = (_QWORD *)*v5;\n    if ( v5 == v3 )\n      break;\n    if ( (unsigned __int8)sub_6420C() == a2 )\n      return v2;\n  }\n  return 0;\n}", "assembly": "; \n; sub_64000 from 0x64000 to 0x6404c (76 bytes)\n; \n; 3 xrefs:\n; > sub_83A70 @ 0x83aa8\n; > sub_83AE8 @ 0x83b14\n; > sub_83B3C @ 0x83b78\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:13:54 +0000\n; \nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x64000\nADD             X21, X0, #0x28 ; '('                                   ; +0x4, 0x64004\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x8, 0x64008\nMOV             W19, W1                                                ; +0xc, 0x6400c\nMOV             X22, X21                                               ; +0x10, 0x64010\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x14, 0x64014\nADD             X29, SP, #0x20                                         ; +0x18, 0x64018\nLDR             X22, [X22]                                             ; +0x1c, 0x6401c\nCMP             X22, X21                                               ; +0x20, 0x64020\nB.EQ            loc_6403C                                              ; +0x24, 0x64024\nBL              sub_6420C                                              ; +0x28, 0x64028\nAND             W8, W0, #0xFF                                          ; +0x2c, 0x6402c\nCMP             W8, W19,UXTB                                           ; +0x30, 0x64030\nB.NE            loc_6401C                                              ; +0x34, 0x64034\nB               loc_64040                                              ; +0x38, 0x64038\nMOV             X20, XZR                                               ; +0x3c, 0x6403c\nMOV             X0, X20                                                ; +0x40, 0x64040\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x44, 0x64044\nB               loc_64334                                              ; +0x48, 0x64048", "xrefs": ["sub_83A70 @ 0x83aa8", "sub_83AE8 @ 0x83b14", "sub_83B3C @ 0x83b78"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}