{"type": "func", "start": 803344, "end": 803468, "name": "sub_C4210", "pseudocode": "// \n// sub_C4210 from 0xc4210 to 0xc428c (124 bytes)\n// \n// 2 xrefs:\n// > sub_C3BD4 @ 0xc3ce4\n// > sub_C4404 @ 0xc4534\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:45 +0000\n// \n\nfloat __fastcall sub_C4210(__int64 a1, __int64 a2)\n{\n  float v2; // s0\n  float v3; // s1\n  float v6; // [xsp+Ch] [xbp-4h]\n\n  v2 = *(float *)(a2 + 36);\n  v3 = *(float *)&xmmword_155770;\n  if ( v2 < *(float *)&xmmword_155770 || (v3 = *((float *)&xmmword_155770 + 1), v2 > *((float *)&xmmword_155770 + 1)) )\n  {\n    v2 = v3;\n    *(float *)(a2 + 36) = v3;\n  }\n  *(float *)(a1 + 2068) = v2;\n  sub_C48B0(0.8414, *(float *)(a2 + 36), (float)*(int *)(a1 + 2080));\n  *(float *)(a1 + 576) = 1.0 - v6;\n  return 1.0 - v6;\n}", "assembly": "; \n; sub_C4210 from 0xc4210 to 0xc428c (124 bytes)\n; \n; 2 xrefs:\n; > sub_C3BD4 @ 0xc3ce4\n; > sub_C4404 @ 0xc4534\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:45 +0000\n; \nSTR             X19, [SP,#-0x10+var_10]!                               ; +0x0, 0xc4210\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0xc4214\nADRP            X8, #xmmword_155770@PAGE                               ; +0x8, 0xc4218\nLDR             S0, [X1,#0x24]                                         ; +0xc, 0xc421c\nLDR             S1, [X8,#xmmword_155770@PAGEOFF]                       ; +0x10, 0xc4220\nMOV             X19, X0                                                ; +0x14, 0xc4224\nADD             X29, SP, #0x10                                         ; +0x18, 0xc4228\nFCMP            S0, S1                                                 ; +0x1c, 0xc422c\nB.LT            loc_C4244                                              ; +0x20, 0xc4230\nADRP            X8, #(xmmword_155770+4)@PAGE                           ; +0x24, 0xc4234\nLDR             S1, [X8,#(xmmword_155770+4)@PAGEOFF]                   ; +0x28, 0xc4238\nFCMP            S0, S1                                                 ; +0x2c, 0xc423c\nB.LE            loc_C424C                                              ; +0x30, 0xc4240\nMOV             V0.16B, V1.16B                                         ; +0x34, 0xc4244\nSTR             S1, [X1,#0x24]                                         ; +0x38, 0xc4248\nSTR             S0, [X19,#0x814]                                       ; +0x3c, 0xc424c\nLDR             S0, [X19,#0x820]                                       ; +0x40, 0xc4250\nADRP            X8, #dword_2EF2C@PAGE                                  ; +0x44, 0xc4254\nLDR             S1, [X1,#0x24]                                         ; +0x48, 0xc4258\nSUB             X1, X29, #-var_4                                       ; +0x4c, 0xc425c\nSCVTF           S2, S0                                                 ; +0x50, 0xc4260\nLDR             S0, [X8,#dword_2EF2C@PAGEOFF]                          ; +0x54, 0xc4264\nBL              sub_C48B0                                              ; +0x58, 0xc4268\nLDUR            S0, [X29,#var_4]                                       ; +0x5c, 0xc426c\nFMOV            S1, #1.0                                               ; +0x60, 0xc4270\nMOV             W0, WZR                                                ; +0x64, 0xc4274\nFSUB            S0, S1, S0                                             ; +0x68, 0xc4278\nSTR             S0, [X19,#0x240]                                       ; +0x6c, 0xc427c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x70, 0xc4280\nLDR             X19, [SP+0x10+var_10],#0x20                            ; +0x74, 0xc4284\nRET                                                                    ; +0x78, 0xc4288", "xrefs": ["sub_C3BD4 @ 0xc3ce4", "sub_C4404 @ 0xc4534"], "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"}