{"type": "func", "start": 407932, "end": 408044, "name": "sub_6397C", "pseudocode": "// \n// sub_6397C from 0x6397c to 0x639ec (112 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10c8e8\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_6397C(__int64 a1)\n{\n  _QWORD *v2; // x21\n  _QWORD *v3; // x19\n  unsigned int v4; // w0\n  unsigned int v5; // w20\n\n  sub_642EC(*(_QWORD *)(a1 + 64));\n  v2 = (_QWORD *)(a1 + 16);\n  v3 = (_QWORD *)(a1 + 16);\n  while ( 1 )\n  {\n    v3 = (_QWORD *)*v3;\n    if ( v3 == v2 )\n      break;\n    v4 = sub_83194(v3);\n    if ( v4 )\n    {\n      v5 = v4;\n      goto LABEL_6;\n    }\n  }\n  v5 = 0;\nLABEL_6:\n  sub_642D8();\n  return v5;\n}", "assembly": "; \n; sub_6397C from 0x6397c to 0x639ec (112 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10c8e8\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; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x6397c\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x63980\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x63984\nMOV             X19, X0                                                ; +0xc, 0x63988\nLDR             X0, [X0,#0x40]                                         ; +0x10, 0x6398c\nSTR             X21, [SP,#0x30+var_20]                                 ; +0x14, 0x63990\nADD             X29, SP, #0x30                                         ; +0x18, 0x63994\nBL              sub_642EC                                              ; +0x1c, 0x63998\nADD             X21, X19, #0x10                                        ; +0x20, 0x6399c\nMOV             W8, #1                                                 ; +0x24, 0x639a0\nMOV             X19, X21                                               ; +0x28, 0x639a4\nSTRB            W8, [SP,#0x30+var_28]                                  ; +0x2c, 0x639a8\nLDR             X19, [X19]                                             ; +0x30, 0x639ac\nCMP             X19, X21                                               ; +0x34, 0x639b0\nB.EQ            loc_639CC                                              ; +0x38, 0x639b4\nMOV             X0, X19                                                ; +0x3c, 0x639b8\nBL              sub_83194                                              ; +0x40, 0x639bc\nCBZ             W0, loc_639AC                                          ; +0x44, 0x639c0\nMOV             W20, W0                                                ; +0x48, 0x639c4\nB               loc_639D0                                              ; +0x4c, 0x639c8\nMOV             W20, WZR                                               ; +0x50, 0x639cc\nBL              sub_642D8                                              ; +0x54, 0x639d0\nMOV             W0, W20                                                ; +0x58, 0x639d4\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x5c, 0x639d8\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x60, 0x639dc\nLDR             X21, [SP,#0x30+var_20]                                 ; +0x64, 0x639e0\nADD             SP, SP, #0x40 ; '@'                                    ; +0x68, 0x639e4\nRET                                                                    ; +0x6c, 0x639e8", "xrefs": ["<???> @ 0x10c8e8"], "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"}