{"type": "func", "start": 444912, "end": 444952, "name": "sub_6C9F0", "pseudocode": "// \n// sub_6C9F0 from 0x6c9f0 to 0x6ca18 (40 bytes)\n// \n// 1 xrefs:\n// > sub_6C16C @ 0x6c17c\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_6C9F0(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_6CAB4(a1, v2);\n  if ( !result )\n    return 0;\n  return result;\n}", "assembly": "; \n; sub_6C9F0 from 0x6c9f0 to 0x6ca18 (40 bytes)\n; \n; 1 xrefs:\n; > sub_6C16C @ 0x6c17c\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, 0x6c9f0\nMOV             R7, SP                                                 ; +0x2, 0x6c9f2\nLDR             R2, [R0,#0x1C]                                         ; +0x4, 0x6c9f4\nADDS            R1, R2, #1                                             ; +0x6, 0x6c9f6\nBEQ             loc_6CA14                                              ; +0x8, 0x6c9f8\nLDR             R1, [R0,#4]                                            ; +0xa, 0x6c9fa\nCMP             R2, R1                                                 ; +0xc, 0x6c9fc\nBNE             loc_6CA10                                              ; +0xe, 0x6c9fe\nLSLS            R1, R2, #1                                             ; +0x10, 0x6ca00\nCMP             R2, #2                                                 ; +0x12, 0x6ca02\nIT LT                                                                  ; +0x14, 0x6ca04\nMOVLT           R1, #4                                                 ; +0x16, 0x6ca06\nBL              sub_6CAB4                                              ; +0x18, 0x6ca08\nCBZ             R0, loc_6CA10                                          ; +0x1c, 0x6ca0c\nPOP             {R7,PC}                                                ; +0x1e, 0x6ca0e\nMOVS            R0, #0                                                 ; +0x20, 0x6ca10\nPOP             {R7,PC}                                                ; +0x22, 0x6ca12\nMOVS            R0, #0x1C                                              ; +0x24, 0x6ca14\nPOP             {R7,PC}                                                ; +0x26, 0x6ca16", "xrefs": ["sub_6C16C @ 0x6c17c"], "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"}