{"type": "func", "start": 364936, "end": 364968, "name": "sub_59188", "pseudocode": "// \n// sub_59188 from 0x59188 to 0x591a8 (32 bytes)\n// \n// 7 xrefs:\n// > sub_588B4 @ 0x58918\n// > sub_589C4 @ 0x589dc\n// > sub_589FC @ 0x58a1c\n// > sub_62D04 @ 0x62d1c\n// > sub_62D78 @ 0x62d90\n// > sub_6766C @ 0x67684\n// > sub_B0AC8 @ 0xb0b04\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\nunsigned __int64 __fastcall sub_59188(unsigned __int64 result)\n{\n  _QWORD *v1; // x8\n  _QWORD *v2; // x9\n\n  v1 = (_QWORD *)result;\n  LODWORD(result) = -1;\n  v2 = v1;\n  do\n  {\n    v2 = (_QWORD *)*v2;\n    result = (unsigned int)(result + 1);\n  }\n  while ( v2 != v1 );\n  return result;\n}", "assembly": "; \n; sub_59188 from 0x59188 to 0x591a8 (32 bytes)\n; \n; 7 xrefs:\n; > sub_588B4 @ 0x58918\n; > sub_589C4 @ 0x589dc\n; > sub_589FC @ 0x58a1c\n; > sub_62D04 @ 0x62d1c\n; > sub_62D78 @ 0x62d90\n; > sub_6766C @ 0x67684\n; > sub_B0AC8 @ 0xb0b04\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             X8, X0                                                 ; +0x0, 0x59188\nMOV             W0, #0xFFFFFFFF                                        ; +0x4, 0x5918c\nMOV             X9, X8                                                 ; +0x8, 0x59190\nLDR             X9, [X9]                                               ; +0xc, 0x59194\nADD             W0, W0, #1                                             ; +0x10, 0x59198\nCMP             X9, X8                                                 ; +0x14, 0x5919c\nB.NE            loc_59194                                              ; +0x18, 0x591a0\nRET                                                                    ; +0x1c, 0x591a4", "xrefs": ["sub_588B4 @ 0x58918", "sub_589C4 @ 0x589dc", "sub_589FC @ 0x58a1c", "sub_62D04 @ 0x62d1c", "sub_62D78 @ 0x62d90", "sub_6766C @ 0x67684", "sub_B0AC8 @ 0xb0b04"], "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"}