{"type": "func", "start": 812348, "end": 812440, "name": "sub_C653C", "pseudocode": "// \n// sub_C653C from 0xc653c to 0xc6598 (92 bytes)\n// \n// 5 xrefs:\n// > sub_C6598 @ 0xc6700\n// > sub_C67CC @ 0xc6848\n// > sub_C67CC @ 0xc6884\n// > sub_C6E9C @ 0xc6ea8\n// > sub_C6ED4 @ 0xc6edc\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\nfloat __fastcall sub_C653C(float *a1, int a2, char a3, float *a4)\n{\n  float *v4; // x8\n  float v5; // s0\n  float v6; // s0\n  float v7; // s1\n  float v8; // s2\n\n  v4 = &a1[a2];\n  if ( (a3 & 1) == 0 )\n  {\n    if ( !a2 )\n    {\n      v5 = 0.0;\n      goto LABEL_8;\n    }\n    v6 = v4[229];\n    v7 = v4[230];\n    v8 = a1[161];\n    goto LABEL_6;\n  }\n  v5 = 0.0;\n  if ( a2 != 16 )\n  {\n    v6 = v4[231];\n    v7 = v4[230];\n    v8 = a1[160];\nLABEL_6:\n    v5 = (float)(v6 - v7) * v8;\n  }\nLABEL_8:\n  *a4 = v5;\n  return a1[163] + (float)(v4[230] * a1[137]);\n}", "assembly": "; \n; sub_C653C from 0xc653c to 0xc6598 (92 bytes)\n; \n; 5 xrefs:\n; > sub_C6598 @ 0xc6700\n; > sub_C67CC @ 0xc6848\n; > sub_C67CC @ 0xc6884\n; > sub_C6E9C @ 0xc6ea8\n; > sub_C6ED4 @ 0xc6edc\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; \nADD             X8, X0, W1,SXTW#2                                      ; +0x0, 0xc653c\nTBZ             W2, #0, loc_C6560                                      ; +0x4, 0xc6540\nCMP             W1, #0x10                                              ; +0x8, 0xc6544\nFMOV            S0, WZR                                                ; +0xc, 0xc6548\nB.EQ            loc_C6580                                              ; +0x10, 0xc654c\nLDR             S0, [X8,#0x39C]                                        ; +0x14, 0xc6550\nLDR             S1, [X8,#0x398]                                        ; +0x18, 0xc6554\nLDR             S2, [X0,#0x280]                                        ; +0x1c, 0xc6558\nB               loc_C6570                                              ; +0x20, 0xc655c\nCBZ             W1, loc_C657C                                          ; +0x24, 0xc6560\nLDR             S0, [X8,#0x394]                                        ; +0x28, 0xc6564\nLDR             S1, [X8,#0x398]                                        ; +0x2c, 0xc6568\nLDR             S2, [X0,#0x284]                                        ; +0x30, 0xc656c\nFSUB            S0, S0, S1                                             ; +0x34, 0xc6570\nFMUL            S0, S0, S2                                             ; +0x38, 0xc6574\nB               loc_C6580                                              ; +0x3c, 0xc6578\nFMOV            S0, WZR                                                ; +0x40, 0xc657c\nSTR             S0, [X3]                                               ; +0x44, 0xc6580\nLDR             S0, [X0,#0x28C]                                        ; +0x48, 0xc6584\nLDR             S1, [X0,#0x224]                                        ; +0x4c, 0xc6588\nLDR             S2, [X8,#0x398]                                        ; +0x50, 0xc658c\nFMADD           S0, S2, S1, S0                                         ; +0x54, 0xc6590\nRET                                                                    ; +0x58, 0xc6594", "xrefs": ["sub_C6598 @ 0xc6700", "sub_C67CC @ 0xc6848", "sub_C67CC @ 0xc6884", "sub_C6E9C @ 0xc6ea8", "sub_C6ED4 @ 0xc6edc"], "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"}