{"type": "func", "start": 809476, "end": 809552, "name": "sub_C5A04", "pseudocode": "// \n// sub_C5A04 from 0xc5a04 to 0xc5a50 (76 bytes)\n// \n// 1 xrefs:\n// > sub_C5BA0 @ 0xc5ba8\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_C5A04(float *a1, int a2, float a3)\n{\n  switch ( a2 )\n  {\n    case 0:\n      a1[2428] = a3;\n      break;\n    case 1:\n      a1[2429] = a3;\n      break;\n    case 2:\n      a1[2430] = a3;\n      break;\n    case 3:\n      a1[2431] = a3;\n      break;\n    case 4:\n      a1[2432] = a3;\n      break;\n    default:\n      return 0;\n  }\n  return 0;\n}", "assembly": "; \n; sub_C5A04 from 0xc5a04 to 0xc5a50 (76 bytes)\n; \n; 1 xrefs:\n; > sub_C5BA0 @ 0xc5ba8\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, #4; switch 5 cases                                 ; +0x0, 0xc5a04\nB.HI            def_C5A24; jumptable 00000000000C5A24 default case     ; +0x4, 0xc5a08\nADRP            X9, #jpt_C5A24@PAGE                                    ; +0x8, 0xc5a0c\nMOV             W8, W1                                                 ; +0xc, 0xc5a10\nADD             X9, X9, #jpt_C5A24@PAGEOFF                             ; +0x10, 0xc5a14\nADR             X10, loc_C5A28; jumptable 00000000000C5A24 case 0      ; +0x14, 0xc5a18\nLDRB            W11, [X9,X8]                                           ; +0x18, 0xc5a1c\nADD             X10, X10, X11,LSL#2                                    ; +0x1c, 0xc5a20\nBR              X10; switch jump                                       ; +0x20, 0xc5a24\nSTR             S0, [X0,#0x25F0]; jumptable 00000000000C5A24 case 0    ; +0x24, 0xc5a28\nB               def_C5A24; jumptable 00000000000C5A24 default case     ; +0x28, 0xc5a2c\nSTR             S0, [X0,#0x25F4]; jumptable 00000000000C5A24 case 1    ; +0x2c, 0xc5a30\nB               def_C5A24; jumptable 00000000000C5A24 default case     ; +0x30, 0xc5a34\nSTR             S0, [X0,#0x25F8]; jumptable 00000000000C5A24 case 2    ; +0x34, 0xc5a38\nB               def_C5A24; jumptable 00000000000C5A24 default case     ; +0x38, 0xc5a3c\nSTR             S0, [X0,#0x25FC]; jumptable 00000000000C5A24 case 3    ; +0x3c, 0xc5a40\nB               def_C5A24; jumptable 00000000000C5A24 default case     ; +0x40, 0xc5a44\nSTR             S0, [X0,#0x2600]; jumptable 00000000000C5A24 case 4    ; +0x44, 0xc5a48\nB               loc_C5E3C; jumptable 00000000000C5A24 default case     ; +0x48, 0xc5a4c", "xrefs": ["sub_C5BA0 @ 0xc5ba8"], "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"}