{"type": "func", "start": 814208, "end": 814320, "name": "sub_C6C80", "pseudocode": "// \n// sub_C6C80 from 0xc6c80 to 0xc6cf0 (112 bytes)\n// \n// 1 xrefs:\n// > sub_C6E18 @ 0xc6e20\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:14:46 +0000\n// \n\n__int64 __fastcall sub_C6C80(__int64 a1, int a2, float a3)\n{\n  switch ( a2 )\n  {\n    case 0:\n      *(float *)(a1 + 996) = a3;\n      break;\n    case 1:\n      *(float *)(a1 + 1000) = a3;\n      break;\n    case 2:\n      *(float *)(a1 + 1004) = a3;\n      break;\n    case 3:\n      *(float *)(a1 + 1008) = a3;\n      break;\n    case 4:\n      *(float *)(a1 + 1012) = a3;\n      break;\n    case 5:\n      *(float *)(a1 + 1016) = a3;\n      break;\n    case 6:\n      *(float *)(a1 + 1020) = a3;\n      *(_BYTE *)(a1 + 572) = a3 > 0.0;\n      break;\n    case 7:\n      *(float *)(a1 + 1024) = a3;\n      break;\n    default:\n      return sub_C6E64();\n  }\n  return sub_C6E64();\n}", "assembly": "; \n; sub_C6C80 from 0xc6c80 to 0xc6cf0 (112 bytes)\n; \n; 1 xrefs:\n; > sub_C6E18 @ 0xc6e20\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:14:46 +0000\n; \nCMP             W1, #7; switch 8 cases                                 ; +0x0, 0xc6c80\nB.HI            def_C6CA0; jumptable 00000000000C6CA0 default case     ; +0x4, 0xc6c84\nADRP            X9, #jpt_C6CA0@PAGE                                    ; +0x8, 0xc6c88\nMOV             W8, W1                                                 ; +0xc, 0xc6c8c\nADD             X9, X9, #jpt_C6CA0@PAGEOFF                             ; +0x10, 0xc6c90\nADR             X10, loc_C6CA4; jumptable 00000000000C6CA0 case 0      ; +0x14, 0xc6c94\nLDRB            W11, [X9,X8]                                           ; +0x18, 0xc6c98\nADD             X10, X10, X11,LSL#2                                    ; +0x1c, 0xc6c9c\nBR              X10; switch jump                                       ; +0x20, 0xc6ca0\nSTR             S0, [X0,#0x3E4]; jumptable 00000000000C6CA0 case 0     ; +0x24, 0xc6ca4\nB               def_C6CA0; jumptable 00000000000C6CA0 default case     ; +0x28, 0xc6ca8\nSTR             S0, [X0,#0x3E8]; jumptable 00000000000C6CA0 case 1     ; +0x2c, 0xc6cac\nB               def_C6CA0; jumptable 00000000000C6CA0 default case     ; +0x30, 0xc6cb0\nSTR             S0, [X0,#0x3EC]; jumptable 00000000000C6CA0 case 2     ; +0x34, 0xc6cb4\nB               def_C6CA0; jumptable 00000000000C6CA0 default case     ; +0x38, 0xc6cb8\nSTR             S0, [X0,#0x3F0]; jumptable 00000000000C6CA0 case 3     ; +0x3c, 0xc6cbc\nB               def_C6CA0; jumptable 00000000000C6CA0 default case     ; +0x40, 0xc6cc0\nSTR             S0, [X0,#0x3F4]; jumptable 00000000000C6CA0 case 4     ; +0x44, 0xc6cc4\nB               def_C6CA0; jumptable 00000000000C6CA0 default case     ; +0x48, 0xc6cc8\nSTR             S0, [X0,#0x3F8]; jumptable 00000000000C6CA0 case 5     ; +0x4c, 0xc6ccc\nB               def_C6CA0; jumptable 00000000000C6CA0 default case     ; +0x50, 0xc6cd0\nFCMP            S0, #0.0; jumptable 00000000000C6CA0 case 6            ; +0x54, 0xc6cd4\nCSET            W8, GT                                                 ; +0x58, 0xc6cd8\nSTR             S0, [X0,#0x3FC]                                        ; +0x5c, 0xc6cdc\nSTRB            W8, [X0,#0x23C]                                        ; +0x60, 0xc6ce0\nB               def_C6CA0; jumptable 00000000000C6CA0 default case     ; +0x64, 0xc6ce4\nSTR             S0, [X0,#0x400]; jumptable 00000000000C6CA0 case 7     ; +0x68, 0xc6ce8\nB               sub_C6E64; jumptable 00000000000C6CA0 default case     ; +0x6c, 0xc6cec", "xrefs": ["sub_C6E18 @ 0xc6e20"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}