{"type": "func", "start": 803724, "end": 803844, "name": "sub_C438C", "pseudocode": "// \n// sub_C438C from 0xc438c to 0xc4404 (120 bytes)\n// \n// 1 xrefs:\n// > sub_C4B30 @ 0xc4b3c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n__int64 __fastcall sub_C438C(__int64 a1, __int64 a2, __int64 a3, unsigned int a4, signed int a5)\n{\n  signed int v5; // w9\n  unsigned int i; // w10\n\n  v5 = *(_DWORD *)(a1 + 2084);\n  if ( v5 )\n  {\n    sub_CDEB8(a1 + 544, a2, a3, (unsigned int)a5, a4, (float)*(int *)(a1 + 2080), *(float *)(a1 + 2140));\n  }\n  else\n  {\n    while ( v5 < a5 )\n    {\n      for ( i = v5; i < a5 * a4; i += a5 )\n        *(float *)(a3 + 4LL * i) = *(float *)(a1 + 2140) * *(float *)(a2 + 4LL * i);\n      ++v5;\n    }\n  }\n  return 0;\n}", "assembly": "; \n; sub_C438C from 0xc438c to 0xc4404 (120 bytes)\n; \n; 1 xrefs:\n; > sub_C4B30 @ 0xc4b3c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0xc438c\nLDR             W9, [X0,#0x824]                                        ; +0x4, 0xc4390\nMOV             W8, W3                                                 ; +0x8, 0xc4394\nMOV             X29, SP                                                ; +0xc, 0xc4398\nCBZ             W9, loc_C43C0                                          ; +0x10, 0xc439c\nLDR             S0, [X0,#0x820]                                        ; +0x14, 0xc43a0\nLDR             S1, [X0,#0x85C]                                        ; +0x18, 0xc43a4\nADD             X0, X0, #0x220                                         ; +0x1c, 0xc43a8\nMOV             W3, W4                                                 ; +0x20, 0xc43ac\nSCVTF           S0, S0                                                 ; +0x24, 0xc43b0\nMOV             W4, W8                                                 ; +0x28, 0xc43b4\nBL              sub_CDEB8                                              ; +0x2c, 0xc43b8\nB               loc_C43F8                                              ; +0x30, 0xc43bc\nMUL             W8, W4, W8                                             ; +0x34, 0xc43c0\nCMP             W9, W4                                                 ; +0x38, 0xc43c4\nB.GE            loc_C43F8                                              ; +0x3c, 0xc43c8\nMOV             W10, W9                                                ; +0x40, 0xc43cc\nCMP             W10, W8                                                ; +0x44, 0xc43d0\nB.CS            loc_C43F0                                              ; +0x48, 0xc43d4\nLDR             S0, [X1,W10,UXTW#2]                                    ; +0x4c, 0xc43d8\nLDR             S1, [X0,#0x85C]                                        ; +0x50, 0xc43dc\nFMUL            S0, S1, S0                                             ; +0x54, 0xc43e0\nSTR             S0, [X2,W10,UXTW#2]                                    ; +0x58, 0xc43e4\nADD             W10, W10, W4                                           ; +0x5c, 0xc43e8\nB               loc_C43D0                                              ; +0x60, 0xc43ec\nADD             W9, W9, #1                                             ; +0x64, 0xc43f0\nB               loc_C43C4                                              ; +0x68, 0xc43f4\nMOV             W0, WZR                                                ; +0x6c, 0xc43f8\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x70, 0xc43fc\nRET                                                                    ; +0x74, 0xc4400", "xrefs": ["sub_C4B30 @ 0xc4b3c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}