{"type": "func", "start": 574004, "end": 574128, "name": "sub_8C234", "pseudocode": "// \n// sub_8C234 from 0x8c234 to 0x8c2b0 (124 bytes)\n// \n// 3 xrefs:\n// > sub_8C1D8 @ 0x8c1f4\n// > sub_8F210 @ 0x91124\n// > sub_91ADC @ 0x91ae4\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:12 +0000\n// \n\n__int64 __fastcall sub_8C234(__int64 a1, char a2)\n{\n  __int64 v3; // x8\n  int v4; // w9\n  __int64 v5; // x10\n  int v6; // w10\n\n  sub_5FBCC(a1, a2 & 1);\n  v3 = *(int *)(a1 + 3068);\n  v4 = *(_DWORD *)(a1 + 2292);\n  while ( 1 )\n  {\n    v5 = *(unsigned __int8 *)(a1 + v3 + 656);\n    if ( v4 > (int)v5 )\n      break;\n    v6 = *(_DWORD *)(a1 + 2284);\n    *(_DWORD *)(a1 + 3068) = ++v3;\n    if ( (int)v3 > 254 || (int)v3 >= v6 )\n    {\n      *(_WORD *)(a1 + 3048) = 256;\n      return 19;\n    }\n  }\n  *(_QWORD *)(a1 + 17440) = *(_QWORD *)(*(_QWORD *)(a1 + 632) + 16 * v5 + 8);\n  sub_8D55C(a1);\n  return 0;\n}", "assembly": "; \n; sub_8C234 from 0x8c234 to 0x8c2b0 (124 bytes)\n; \n; 3 xrefs:\n; > sub_8C1D8 @ 0x8c1f4\n; > sub_8F210 @ 0x91124\n; > sub_91ADC @ 0x91ae4\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:12 +0000\n; \nSTR             X19, [SP,#-0x10+var_10]!                               ; +0x0, 0x8c234\nAND             W1, W1, #1                                             ; +0x4, 0x8c238\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x8, 0x8c23c\nADD             X29, SP, #0x10                                         ; +0xc, 0x8c240\nMOV             X19, X0                                                ; +0x10, 0x8c244\nBL              sub_5FBCC                                              ; +0x14, 0x8c248\nLDRSW           X8, [X19,#0xBFC]                                       ; +0x18, 0x8c24c\nLDR             W9, [X19,#0x8F4]                                       ; +0x1c, 0x8c250\nADD             X10, X19, X8                                           ; +0x20, 0x8c254\nLDRB            W10, [X10,#0x290]                                      ; +0x24, 0x8c258\nCMP             W9, W10                                                ; +0x28, 0x8c25c\nB.GT            loc_8C28C                                              ; +0x2c, 0x8c260\nLDR             W10, [X19,#0x8EC]                                      ; +0x30, 0x8c264\nADD             X8, X8, #1                                             ; +0x34, 0x8c268\nCMP             W8, #0xFE                                              ; +0x38, 0x8c26c\nSTR             W8, [X19,#0xBFC]                                       ; +0x3c, 0x8c270\nCCMP            W8, W10, #0, LE                                        ; +0x40, 0x8c274\nB.LT            loc_8C254                                              ; +0x44, 0x8c278\nMOV             W8, #0x100                                             ; +0x48, 0x8c27c\nMOV             W0, #0x13                                              ; +0x4c, 0x8c280\nSTRH            W8, [X19,#0xBE8]                                       ; +0x50, 0x8c284\nB               loc_8C2A8                                              ; +0x54, 0x8c288\nLDR             X8, [X19,#0x278]                                       ; +0x58, 0x8c28c\nMOV             X0, X19                                                ; +0x5c, 0x8c290\nADD             X8, X8, X10,LSL#4                                      ; +0x60, 0x8c294\nLDR             X8, [X8,#8]                                            ; +0x64, 0x8c298\nSTR             X8, [X19,#0x4420]                                      ; +0x68, 0x8c29c\nBL              sub_8D55C                                              ; +0x6c, 0x8c2a0\nMOV             W0, WZR                                                ; +0x70, 0x8c2a4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x74, 0x8c2a8\nB               loc_91960                                              ; +0x78, 0x8c2ac", "xrefs": ["sub_8C1D8 @ 0x8c1f4", "sub_8F210 @ 0x91124", "sub_91ADC @ 0x91ae4"], "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"}