{"type": "func", "start": 445534, "end": 445574, "name": "sub_6CC5E", "pseudocode": "// \n// sub_6CC5E from 0x6cc5e to 0x6cc86 (40 bytes)\n// \n// 1 xrefs:\n// > sub_6C254 @ 0x6c264\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\nint __fastcall sub_6CC5E(int a1)\n{\n  int v1; // r2\n  int v2; // r1\n  int result; // r0\n\n  v1 = *(_DWORD *)(a1 + 28);\n  if ( v1 == -1 )\n    return 28;\n  if ( v1 != *(_DWORD *)(a1 + 4) )\n    return 0;\n  v2 = 2 * v1;\n  if ( v1 < 2 )\n    v2 = 4;\n  result = sub_6CCEA(a1, v2);\n  if ( !result )\n    return 0;\n  return result;\n}", "assembly": "; \n; sub_6CC5E from 0x6cc5e to 0x6cc86 (40 bytes)\n; \n; 1 xrefs:\n; > sub_6C254 @ 0x6c264\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\nPUSH            {R7,LR}                                                ; +0x0, 0x6cc5e\nMOV             R7, SP                                                 ; +0x2, 0x6cc60\nLDR             R2, [R0,#0x1C]                                         ; +0x4, 0x6cc62\nADDS            R1, R2, #1                                             ; +0x6, 0x6cc64\nBEQ             loc_6CC82                                              ; +0x8, 0x6cc66\nLDR             R1, [R0,#4]                                            ; +0xa, 0x6cc68\nCMP             R2, R1                                                 ; +0xc, 0x6cc6a\nBNE             loc_6CC7E                                              ; +0xe, 0x6cc6c\nLSLS            R1, R2, #1                                             ; +0x10, 0x6cc6e\nCMP             R2, #2                                                 ; +0x12, 0x6cc70\nIT LT                                                                  ; +0x14, 0x6cc72\nMOVLT           R1, #4                                                 ; +0x16, 0x6cc74\nBL              sub_6CCEA                                              ; +0x18, 0x6cc76\nCBZ             R0, loc_6CC7E                                          ; +0x1c, 0x6cc7a\nPOP             {R7,PC}                                                ; +0x1e, 0x6cc7c\nMOVS            R0, #0                                                 ; +0x20, 0x6cc7e\nPOP             {R7,PC}                                                ; +0x22, 0x6cc80\nMOVS            R0, #0x1C                                              ; +0x24, 0x6cc82\nPOP             {R7,PC}                                                ; +0x26, 0x6cc84", "xrefs": ["sub_6C254 @ 0x6c264"], "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"}