{"type": "func", "start": 391176, "end": 391240, "name": "sub_5F808", "pseudocode": "// \n// sub_5F808 from 0x5f808 to 0x5f848 (64 bytes)\n// \n// 1 xrefs:\n// > sub_68D7C @ 0x68da4\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_5F808(__int64 **a1, _DWORD *a2, _DWORD *a3)\n{\n  int v3; // w9\n  int v4; // w8\n  __int64 **i; // x10\n\n  v3 = 0;\n  v4 = 0;\n  for ( i = a1; ; v4 += *((unsigned __int8 *)i + 60) )\n  {\n    i = (__int64 **)*i;\n    if ( i == a1 )\n      break;\n    ++v3;\n  }\n  if ( a2 )\n    *a2 = v3;\n  if ( a3 )\n    *a3 = v4;\n  return 0;\n}", "assembly": "; \n; sub_5F808 from 0x5f808 to 0x5f848 (64 bytes)\n; \n; 1 xrefs:\n; > sub_68D7C @ 0x68da4\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\nMOV             W9, WZR                                                ; +0x0, 0x5f808\nMOV             W8, WZR                                                ; +0x4, 0x5f80c\nMOV             X10, X0                                                ; +0x8, 0x5f810\nLDR             X10, [X10]                                             ; +0xc, 0x5f814\nCMP             X10, X0                                                ; +0x10, 0x5f818\nB.EQ            loc_5F830                                              ; +0x14, 0x5f81c\nLDRB            W11, [X10,#0x3C]                                       ; +0x18, 0x5f820\nADD             W9, W9, #1                                             ; +0x1c, 0x5f824\nADD             W8, W8, W11                                            ; +0x20, 0x5f828\nB               loc_5F814                                              ; +0x24, 0x5f82c\nCBZ             X1, loc_5F838                                          ; +0x28, 0x5f830\nSTR             W9, [X1]                                               ; +0x2c, 0x5f834\nCBZ             X2, loc_5F840                                          ; +0x30, 0x5f838\nSTR             W8, [X2]                                               ; +0x34, 0x5f83c\nMOV             W0, WZR                                                ; +0x38, 0x5f840\nRET                                                                    ; +0x3c, 0x5f844", "xrefs": ["sub_68D7C @ 0x68da4"], "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"}