{"type": "func", "start": 442882, "end": 442940, "name": "sub_6C202", "pseudocode": "// \n// sub_6C202 from 0x6c202 to 0x6c23c (58 bytes)\n// \n// 1 xrefs:\n// > sub_6BCFC @ 0x6bd86\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:40:58 +0000\n// \n\nbool __fastcall sub_6C202(_DWORD *a1, _DWORD *a2, int a3, int a4)\n{\n  int v6; // r1\n  _BOOL4 result; // r0\n  int v8; // r1\n  int v9; // [sp+0h] [bp-10h] BYREF\n  int v10; // [sp+4h] [bp-Ch] BYREF\n\n  v9 = a3;\n  v10 = a4;\n  if ( !a1[7] )\n    return 0;\n  v6 = a1[1];\n  result = 0;\n  if ( v6 )\n  {\n    v8 = *a1 + 4 * ((v6 - 1) & *a2);\n    v9 = 0;\n    v10 = v8;\n    return ((int (__fastcall *)(_DWORD *, int *, _DWORD *, int *))sub_6CC26)(a1, &v10, a2, &v9) == 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_6C202 from 0x6c202 to 0x6c23c (58 bytes)\n; \n; 1 xrefs:\n; > sub_6BCFC @ 0x6bd86\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:40:58 +0000\n; \nPUSH            {R2-R4,R6,R7,LR}                                       ; +0x0, 0x6c202\nADD             R7, SP, #0x10                                          ; +0x2, 0x6c204\nMOV             R4, R0                                                 ; +0x4, 0x6c206\nLDR             R0, [R0,#0x1C]                                         ; +0x6, 0x6c208\nCBZ             R0, loc_6C236                                          ; +0x8, 0x6c20a\nMOV             R2, R1                                                 ; +0xa, 0x6c20c\nLDR             R1, [R4,#4]                                            ; +0xc, 0x6c20e\nMOVS            R0, #0                                                 ; +0xe, 0x6c210\nCBZ             R1, loc_6C238                                          ; +0x10, 0x6c212\nLDR             R3, [R2]                                               ; +0x12, 0x6c214\nSUBS            R1, #1                                                 ; +0x14, 0x6c216\nANDS            R1, R3                                                 ; +0x16, 0x6c218\nLDR             R3, [R4]                                               ; +0x18, 0x6c21a\nADD.W           R1, R3, R1,LSL#2                                       ; +0x1a, 0x6c21c\nMOV             R3, SP                                                 ; +0x1e, 0x6c220\nSTRD.W          R0, R1, [SP,#8+var_8]                                  ; +0x20, 0x6c222\nADD             R1, SP, #8+var_4                                       ; +0x24, 0x6c226\nMOV             R0, R4                                                 ; +0x26, 0x6c228\nBL              sub_6CC26                                              ; +0x28, 0x6c22a\nCLZ.W           R0, R0                                                 ; +0x2c, 0x6c22e\nLSRS            R0, R0, #5                                             ; +0x30, 0x6c232\nB               loc_6C238                                              ; +0x32, 0x6c234\nMOVS            R0, #0                                                 ; +0x34, 0x6c236\nADD             SP, SP, #8                                             ; +0x36, 0x6c238\nPOP             {R4,R6,R7,PC}                                          ; +0x38, 0x6c23a", "xrefs": ["sub_6BCFC @ 0x6bd86"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}