{"type": "func", "start": 510456, "end": 510616, "name": "sub_7C9F8", "pseudocode": "// \n// sub_7C9F8 from 0x7c9f8 to 0x7ca98 (160 bytes)\n// \n// 1 xrefs:\n// > sub_7BC78 @ 0x7be98\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:14:06 +0000\n// \n\n__int64 __fastcall sub_7C9F8(__int64 a1)\n{\n  unsigned int v2; // w19\n  _QWORD *v3; // x21\n  _QWORD *v4; // x22\n  __int64 v5; // x20\n  __int64 v7; // [xsp+0h] [xbp-30h] BYREF\n  int v8; // [xsp+8h] [xbp-28h]\n  char v9; // [xsp+Ch] [xbp-24h]\n\n  v7 = a1;\n  v9 = 0;\n  v8 = 7;\n  sub_520A0((__int64)&v7);\n  v2 = *(_DWORD *)(a1 + 1760);\n  v3 = (_QWORD *)(a1 + 67912);\n  v4 = (_QWORD *)(a1 + 67912);\n  while ( 1 )\n  {\n    v4 = (_QWORD *)*v4;\n    if ( v4 == v3 )\n      break;\n    v5 = v4[2];\n    if ( *(_BYTE *)(v5 + 530) )\n      sub_CCA10(v4[2], v2);\n    if ( *(_BYTE *)(v5 + 1062) )\n      sub_CCA10(v5 + 532, v2);\n  }\n  sub_51F94((__int64)&v7);\n  return 0;\n}", "assembly": "; \n; sub_7C9F8 from 0x7c9f8 to 0x7ca98 (160 bytes)\n; \n; 1 xrefs:\n; > sub_7BC78 @ 0x7be98\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:14:06 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x7c9f8\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x7c9fc\nMOV             X20, X0                                                ; +0x8, 0x7ca00\nSTR             X0, [SP,#0x30+var_30]                                  ; +0xc, 0x7ca04\nMOV             W8, #7                                                 ; +0x10, 0x7ca08\nMOV             X0, SP                                                 ; +0x14, 0x7ca0c\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x18, 0x7ca10\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x1c, 0x7ca14\nADD             X29, SP, #0x30                                         ; +0x20, 0x7ca18\nSTRB            WZR, [SP,#0x30+var_24]                                 ; +0x24, 0x7ca1c\nSTR             W8, [SP,#0x30+var_28]                                  ; +0x28, 0x7ca20\nBL              sub_520A0                                              ; +0x2c, 0x7ca24\nLDR             W19, [X20,#0x6E0]                                      ; +0x30, 0x7ca28\nMOV             W8, #0x10948                                           ; +0x34, 0x7ca2c\nADD             X21, X20, X8                                           ; +0x3c, 0x7ca34\nMOV             X22, X21                                               ; +0x40, 0x7ca38\nLDR             X22, [X22]                                             ; +0x44, 0x7ca3c\nCMP             X22, X21                                               ; +0x48, 0x7ca40\nB.EQ            loc_7CA78                                              ; +0x4c, 0x7ca44\nLDR             X20, [X22,#0x10]                                       ; +0x50, 0x7ca48\nLDRB            W8, [X20,#0x212]                                       ; +0x54, 0x7ca4c\nCBZ             W8, loc_7CA60                                          ; +0x58, 0x7ca50\nMOV             X0, X20                                                ; +0x5c, 0x7ca54\nMOV             W1, W19                                                ; +0x60, 0x7ca58\nBL              sub_CCA10                                              ; +0x64, 0x7ca5c\nLDRB            W8, [X20,#0x426]                                       ; +0x68, 0x7ca60\nCBZ             W8, loc_7CA3C                                          ; +0x6c, 0x7ca64\nADD             X0, X20, #0x214                                        ; +0x70, 0x7ca68\nMOV             W1, W19                                                ; +0x74, 0x7ca6c\nBL              sub_CCA10                                              ; +0x78, 0x7ca70\nB               loc_7CA3C                                              ; +0x7c, 0x7ca74\nMOV             X0, SP                                                 ; +0x80, 0x7ca78\nBL              sub_51F94                                              ; +0x84, 0x7ca7c\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x88, 0x7ca80\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x8c, 0x7ca84\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x90, 0x7ca88\nMOV             W0, WZR                                                ; +0x94, 0x7ca8c\nADD             SP, SP, #0x40 ; '@'                                    ; +0x98, 0x7ca90\nRET                                                                    ; +0x9c, 0x7ca94", "xrefs": ["sub_7BC78 @ 0x7be98"], "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"}