{"type": "func", "start": 602536, "end": 602596, "name": "sub_931A8", "pseudocode": "// \n// sub_931A8 from 0x931a8 to 0x931e4 (60 bytes)\n// \n// 12 xrefs:\n// > sub_92AE0 @ 0x92bd8\n// > sub_92AE0 @ 0x92c24\n// > sub_92AE0 @ 0x92c38\n// > sub_92AE0 @ 0x92c90\n// > sub_92AE0 @ 0x92cf8\n// > sub_92AE0 @ 0x92d70\n// > sub_9342C @ 0x9350c\n// > sub_9342C @ 0x935c8\n// > sub_9342C @ 0x93894\n// > sub_947E4 @ 0x947ec\n// > sub_94894 @ 0x9489c\n// > sub_94940 @ 0x94948\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_931A8(__int64 a1, _BYTE *a2)\n{\n  __int64 v2; // x9\n  __int64 v4; // x10\n\n  v2 = *(unsigned int *)(a1 + 16);\n  if ( (unsigned int)v2 >= *(_DWORD *)(a1 + 20) )\n  {\n    *(_BYTE *)(a1 + 36) = 1;\n    return 16;\n  }\n  else\n  {\n    v4 = *(_QWORD *)(a1 + 8);\n    *(_DWORD *)(a1 + 16) = v2 + 1;\n    *a2 = *(_BYTE *)(v4 + v2);\n    return 0;\n  }\n}", "assembly": "; \n; sub_931A8 from 0x931a8 to 0x931e4 (60 bytes)\n; \n; 12 xrefs:\n; > sub_92AE0 @ 0x92bd8\n; > sub_92AE0 @ 0x92c24\n; > sub_92AE0 @ 0x92c38\n; > sub_92AE0 @ 0x92c90\n; > sub_92AE0 @ 0x92cf8\n; > sub_92AE0 @ 0x92d70\n; > sub_9342C @ 0x9350c\n; > sub_9342C @ 0x935c8\n; > sub_9342C @ 0x93894\n; > sub_947E4 @ 0x947ec\n; > sub_94894 @ 0x9489c\n; > sub_94940 @ 0x94948\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\nLDP             W9, W10, [X0,#0x10]                                    ; +0x0, 0x931a8\nMOV             X8, X0                                                 ; +0x4, 0x931ac\nCMP             W9, W10                                                ; +0x8, 0x931b0\nB.CS            loc_931D4                                              ; +0xc, 0x931b4\nLDR             X10, [X8,#8]                                           ; +0x10, 0x931b8\nADD             W11, W9, #1                                            ; +0x14, 0x931bc\nSTR             W11, [X8,#0x10]                                        ; +0x18, 0x931c0\nMOV             W0, WZR                                                ; +0x1c, 0x931c4\nLDRB            W8, [X10,X9]                                           ; +0x20, 0x931c8\nSTRB            W8, [X1]                                               ; +0x24, 0x931cc\nRET                                                                    ; +0x28, 0x931d0\nMOV             W9, #1                                                 ; +0x2c, 0x931d4\nMOV             W0, #0x10                                              ; +0x30, 0x931d8\nSTRB            W9, [X8,#0x24]                                         ; +0x34, 0x931dc\nRET                                                                    ; +0x38, 0x931e0", "xrefs": ["sub_92AE0 @ 0x92bd8", "sub_92AE0 @ 0x92c24", "sub_92AE0 @ 0x92c38", "sub_92AE0 @ 0x92c90", "sub_92AE0 @ 0x92cf8", "sub_92AE0 @ 0x92d70", "sub_9342C @ 0x9350c", "sub_9342C @ 0x935c8", "sub_9342C @ 0x93894", "sub_947E4 @ 0x947ec", "sub_94894 @ 0x9489c", "sub_94940 @ 0x94948"], "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"}