{"type": "func", "start": 445836, "end": 445864, "name": "sub_6CD8C", "pseudocode": "// \n// sub_6CD8C from 0x6cd8c to 0x6cda8 (28 bytes)\n// \n// 1 xrefs:\n// > sub_6CCEA @ 0x6cd18\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\nint __fastcall sub_6CD8C(int a1, int a2, int a3, void *a4)\n{\n  int v4; // r2\n  int result; // r0\n\n  v4 = *(_DWORD *)(a1 + 8);\n  if ( v4 < 0 )\n    v4 = -v4;\n  if ( v4 >= a2 )\n    return 0;\n  result = sub_6C7A6(a1, a2, v4, a4);\n  if ( !result )\n    return 0;\n  return result;\n}", "assembly": "; \n; sub_6CD8C from 0x6cd8c to 0x6cda8 (28 bytes)\n; \n; 1 xrefs:\n; > sub_6CCEA @ 0x6cd18\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            {R7,LR}                                                ; +0x0, 0x6cd8c\nMOV             R7, SP                                                 ; +0x2, 0x6cd8e\nLDR             R2, [R0,#8]                                            ; +0x4, 0x6cd90\nCMP             R2, #0                                                 ; +0x6, 0x6cd92\nBPL             loc_6CD98                                              ; +0x8, 0x6cd94\nNEGS            R2, R2                                                 ; +0xa, 0x6cd96\nCMP             R2, R1                                                 ; +0xc, 0x6cd98\nBGE             loc_6CDA4                                              ; +0xe, 0x6cd9a\nBL              sub_6C7A6                                              ; +0x10, 0x6cd9c\nCBZ             R0, loc_6CDA4                                          ; +0x14, 0x6cda0\nPOP             {R7,PC}                                                ; +0x16, 0x6cda2\nMOVS            R0, #0                                                 ; +0x18, 0x6cda4\nPOP             {R7,PC}                                                ; +0x1a, 0x6cda6", "xrefs": ["sub_6CCEA @ 0x6cd18"], "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"}