{"type": "func", "start": 602732, "end": 602828, "name": "sub_9326C", "pseudocode": "// \n// sub_9326C from 0x9326c to 0x932cc (96 bytes)\n// \n// 3 xrefs:\n// > sub_9342C @ 0x9353c\n// > sub_9342C @ 0x935d8\n// > sub_948D0 @ 0x948dc\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:22 +0000\n// \n\n__int64 __fastcall sub_9326C(__int64 a1, int *a2)\n{\n  unsigned int v2; // w8\n  __int64 v3; // x10\n  int v4; // w9\n  char v5; // w11\n  __int64 v7; // x12\n  char v8; // w14\n  int v9; // w12\n\n  v3 = *(unsigned int *)(a1 + 16);\n  v2 = *(_DWORD *)(a1 + 20);\n  v4 = 0;\n  v5 = 0;\n  while ( v5 != 4 && (unsigned int)v3 < v2 )\n  {\n    v7 = *(_QWORD *)(a1 + 8);\n    *(_DWORD *)(a1 + 16) = v3 + 1;\n    ++v5;\n    v8 = *(_BYTE *)(v7 + v3++);\n    v9 = v8 & 0x7F | (v4 << 7);\n    v4 = v9;\n    if ( (v8 & 0x80) == 0 )\n    {\n      *a2 = v9;\n      return 0;\n    }\n  }\n  *(_BYTE *)(a1 + 36) = 1;\n  return 16;\n}", "assembly": "; \n; sub_9326C from 0x9326c to 0x932cc (96 bytes)\n; \n; 3 xrefs:\n; > sub_9342C @ 0x9353c\n; > sub_9342C @ 0x935d8\n; > sub_948D0 @ 0x948dc\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:22 +0000\n; \nLDP             W10, W8, [X0,#0x10]                                    ; +0x0, 0x9326c\nMOV             W9, WZR                                                ; +0x4, 0x93270\nMOV             W11, WZR                                               ; +0x8, 0x93274\nAND             W12, W11, #0xFF                                        ; +0xc, 0x93278\nCMP             W12, #4                                                ; +0x10, 0x9327c\nCCMP            W10, W8, #2, NE                                        ; +0x14, 0x93280\nB.CS            loc_932BC                                              ; +0x18, 0x93284\nLDR             X12, [X0,#8]                                           ; +0x1c, 0x93288\nADD             X13, X10, #1                                           ; +0x20, 0x9328c\nSTR             W13, [X0,#0x10]                                        ; +0x24, 0x93290\nADD             W11, W11, #1                                           ; +0x28, 0x93294\nLDRB            W14, [X12,X10]                                         ; +0x2c, 0x93298\nMOV             X10, X13                                               ; +0x30, 0x9329c\nMOV             W12, W14                                               ; +0x34, 0x932a0\nBFI             W12, W9, #7, #0x19                                     ; +0x38, 0x932a4\nMOV             W9, W12                                                ; +0x3c, 0x932a8\nTBNZ            W14, #7, loc_93278                                     ; +0x40, 0x932ac\nMOV             W0, WZR                                                ; +0x44, 0x932b0\nSTR             W12, [X1]                                              ; +0x48, 0x932b4\nRET                                                                    ; +0x4c, 0x932b8\nMOV             W8, #1                                                 ; +0x50, 0x932bc\nSTRB            W8, [X0,#0x24]                                         ; +0x54, 0x932c0\nMOV             W0, #0x10                                              ; +0x58, 0x932c4\nRET                                                                    ; +0x5c, 0x932c8", "xrefs": ["sub_9342C @ 0x9353c", "sub_9342C @ 0x935d8", "sub_948D0 @ 0x948dc"], "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"}