{"type": "func", "start": 811524, "end": 811692, "name": "sub_C6204", "pseudocode": "// \n// sub_C6204 from 0xc6204 to 0xc62ac (168 bytes)\n// \n// 2 xrefs:\n// > sub_C60F4 @ 0xc61a4\n// > sub_C68BC @ 0xc6a50\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\nvoid __fastcall sub_C6204(__int64 a1)\n{\n  float v1; // s9\n  float v2; // s8\n  __int64 v4; // x20\n  __int64 v5; // x21\n  float v6; // s10\n  float v7; // s14\n  float v8; // s0\n\n  v1 = *(float *)(a1 + 660);\n  v2 = -1.5708;\n  v4 = 0;\n  v5 = a1 + 920;\n  v6 = 0.0;\n  while ( v4 != 68 )\n  {\n    v7 = *(float *)(a1 + 552);\n    v8 = (float)(v7 * (float)((float)(sinf(v2) * 0.5) + 0.5)) + (float)((float)(1.0 - v7) * v6);\n    v2 = v2 + (float)(v1 * 3.1416);\n    v6 = v6 + v1;\n    *(float *)(v5 + v4) = v8;\n    v4 += 4;\n  }\n}", "assembly": "; \n; sub_C6204 from 0xc6204 to 0xc62ac (168 bytes)\n; \n; 2 xrefs:\n; > sub_C60F4 @ 0xc61a4\n; > sub_C68BC @ 0xc6a50\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; \nSTR             D14, [SP,#-0x10+var_50]!                               ; +0x0, 0xc6204\nSTP             D13, D12, [SP,#0x50+var_48]                            ; +0x4, 0xc6208\nSTP             D11, D10, [SP,#0x50+var_38]                            ; +0x8, 0xc620c\nSTP             D9, D8, [SP,#0x50+var_28]                              ; +0xc, 0xc6210\nSTP             X20, X19, [SP,#0x50+var_10]                            ; +0x10, 0xc6214\nSTP             X29, X30, [SP,#0x50+var_s0]                            ; +0x14, 0xc6218\nADRP            X8, #dword_2EEF8@PAGE                                  ; +0x18, 0xc621c\nLDR             S9, [X0,#0x294]                                        ; +0x1c, 0xc6220\nLDR             S0, [X8,#dword_2EEF8@PAGEOFF]                          ; +0x20, 0xc6224\nADRP            X8, #dword_2F004@PAGE                                  ; +0x24, 0xc6228\nLDR             S8, [X8,#dword_2F004@PAGEOFF]                          ; +0x28, 0xc622c\nSTR             X21, [SP,#0x50+var_18]                                 ; +0x2c, 0xc6230\nMOV             X19, X0                                                ; +0x30, 0xc6234\nMOV             X20, XZR                                               ; +0x34, 0xc6238\nADD             X21, X0, #0x398                                        ; +0x38, 0xc623c\nFMOV            S10, WZR                                               ; +0x3c, 0xc6240\nFMOV            S11, #0.5                                              ; +0x40, 0xc6244\nFMUL            S12, S9, S0                                            ; +0x44, 0xc6248\nFMOV            S13, #1.0                                              ; +0x48, 0xc624c\nADD             X29, SP, #0x50                                         ; +0x4c, 0xc6250\nCMP             X20, #0x44 ; 'D'                                       ; +0x50, 0xc6254\nB.EQ            loc_C628C                                              ; +0x54, 0xc6258\nLDR             S14, [X19,#0x228]                                      ; +0x58, 0xc625c\nMOV             V0.16B, V8.16B; x                                      ; +0x5c, 0xc6260\nBL              .sinf                                                  ; +0x60, 0xc6264\nFMADD           S0, S0, S11, S11                                       ; +0x64, 0xc6268\nFSUB            S1, S13, S14                                           ; +0x68, 0xc626c\nFMUL            S0, S14, S0                                            ; +0x6c, 0xc6270\nFMADD           S0, S1, S10, S0                                        ; +0x70, 0xc6274\nFADD            S8, S8, S12                                            ; +0x74, 0xc6278\nFADD            S10, S10, S9                                           ; +0x78, 0xc627c\nSTR             S0, [X21,X20]                                          ; +0x7c, 0xc6280\nADD             X20, X20, #4                                           ; +0x80, 0xc6284\nB               loc_C6254                                              ; +0x84, 0xc6288\nLDP             X29, X30, [SP,#0x50+var_s0]                            ; +0x88, 0xc628c\nLDP             X20, X19, [SP,#0x50+var_10]                            ; +0x8c, 0xc6290\nLDR             X21, [SP,#0x50+var_18]                                 ; +0x90, 0xc6294\nLDP             D9, D8, [SP,#0x50+var_28]                              ; +0x94, 0xc6298\nLDP             D11, D10, [SP,#0x50+var_38]                            ; +0x98, 0xc629c\nLDP             D13, D12, [SP,#0x50+var_48]                            ; +0x9c, 0xc62a0\nLDR             D14, [SP+0x50+var_50],#0x60                            ; +0xa0, 0xc62a4\nRET                                                                    ; +0xa4, 0xc62a8", "xrefs": ["sub_C60F4 @ 0xc61a4", "sub_C68BC @ 0xc6a50"], "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"}