{"type": "func", "start": 444402, "end": 444452, "name": "sub_6C7F2", "pseudocode": "// \n// sub_6C7F2 from 0x6c7f2 to 0x6c824 (50 bytes)\n// \n// 1 xrefs:\n// > sub_6C7A6 @ 0x6c7c2\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_6C7F2(int a1, int *a2)\n{\n  int v2; // r0\n  int v4; // r0\n  int v5; // r1\n\n  v2 = 3 * a1;\n  if ( (unsigned int)(4 * v2 - 1) >= 0x3FFFFFFF )\n  {\n    v4 = *a2;\n  }\n  else\n  {\n    v4 = sub_53244(4 * v2);\n    *a2 = v4;\n  }\n  v5 = 0;\n  if ( !v4 )\n    return 38;\n  return v5;\n}", "assembly": "; \n; sub_6C7F2 from 0x6c7f2 to 0x6c824 (50 bytes)\n; \n; 1 xrefs:\n; > sub_6C7A6 @ 0x6c7c2\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            {R4,R6,R7,LR}                                          ; +0x0, 0x6c7f2\nADD             R7, SP, #8                                             ; +0x2, 0x6c7f4\nADD.W           R0, R0, R0,LSL#1                                       ; +0x4, 0x6c7f6\nMOV             R4, R1                                                 ; +0x8, 0x6c7fa\nMOV.W           R1, #0xFFFFFFFF                                        ; +0xa, 0x6c7fc\nMOV             R2, #0x3FFFFFFF                                        ; +0xe, 0x6c800\nADD.W           R1, R1, R0,LSL#2                                       ; +0x12, 0x6c804\nCMP             R1, R2                                                 ; +0x16, 0x6c808\nBCS             loc_6C816                                              ; +0x18, 0x6c80a\nLSLS            R0, R0, #2                                             ; +0x1a, 0x6c80c\nBL              sub_53244                                              ; +0x1c, 0x6c80e\nSTR             R0, [R4]                                               ; +0x20, 0x6c812\nB               loc_6C818                                              ; +0x22, 0x6c814\nLDR             R0, [R4]                                               ; +0x24, 0x6c816\nMOVS            R1, #0                                                 ; +0x26, 0x6c818\nCMP             R0, #0                                                 ; +0x28, 0x6c81a\nIT EQ                                                                  ; +0x2a, 0x6c81c\nMOVEQ           R1, #0x26 ; '&'                                        ; +0x2c, 0x6c81e\nMOV             R0, R1                                                 ; +0x2e, 0x6c820\nPOP             {R4,R6,R7,PC}                                          ; +0x30, 0x6c822", "xrefs": ["sub_6C7A6 @ 0x6c7c2"], "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"}