{"type": "func", "start": 802932, "end": 803004, "name": "sub_C4074", "pseudocode": "// \n// sub_C4074 from 0xc4074 to 0xc40bc (72 bytes)\n// \n// 2 xrefs:\n// > sub_C3BD4 @ 0xc3cbc\n// > sub_C4404 @ 0xc448c\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\n__int64 __fastcall sub_C4074(__int64 a1, __int64 a2)\n{\n  __int64 v2; // x0\n  __int64 v3; // x1\n  float v4; // s0\n  float v5; // s1\n  char v6; // nf\n  char v7; // vf\n\n  v2 = sub_C4B8C(*(float *)(a2 + 12), *(float *)&xmmword_155530);\n  if ( v6 != v7 || (v5 = *((float *)&xmmword_155530 + 1), v4 > *((float *)&xmmword_155530 + 1)) )\n  {\n    v4 = v5;\n    *(float *)(v3 + 12) = v5;\n  }\n  *(float *)(v2 + 2044) = v4;\n  sub_C3E48(v2, (float *)(v2 + 2032));\n  return 0;\n}", "assembly": "; \n; sub_C4074 from 0xc4074 to 0xc40bc (72 bytes)\n; \n; 2 xrefs:\n; > sub_C3BD4 @ 0xc3cbc\n; > sub_C4404 @ 0xc448c\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; \nSTP             X29, X30, [SP,#var_10]!                                ; +0x0, 0xc4074\nADRP            X8, #xmmword_155530@PAGE                               ; +0x4, 0xc4078\nLDR             S0, [X1,#0xC]                                          ; +0x8, 0xc407c\nLDR             S1, [X8,#xmmword_155530@PAGEOFF]                       ; +0xc, 0xc4080\nBL              sub_C4B8C                                              ; +0x10, 0xc4084\nB.LT            loc_C409C                                              ; +0x14, 0xc4088\nADRP            X8, #(xmmword_155530+4)@PAGE                           ; +0x18, 0xc408c\nLDR             S1, [X8,#(xmmword_155530+4)@PAGEOFF]                   ; +0x1c, 0xc4090\nFCMP            S0, S1                                                 ; +0x20, 0xc4094\nB.LE            loc_C40A4                                              ; +0x24, 0xc4098\nMOV             V0.16B, V1.16B                                         ; +0x28, 0xc409c\nSTR             S1, [X1,#0xC]                                          ; +0x2c, 0xc40a0\nADD             X1, X0, #0x7F0                                         ; +0x30, 0xc40a4\nSTR             S0, [X0,#0x7FC]                                        ; +0x34, 0xc40a8\nBL              sub_C3E48                                              ; +0x38, 0xc40ac\nMOV             W0, WZR                                                ; +0x3c, 0xc40b0\nLDP             X29, X30, [SP+0x10+var_10],#0x10                       ; +0x40, 0xc40b4\nRET                                                                    ; +0x44, 0xc40b8", "xrefs": ["sub_C3BD4 @ 0xc3cbc", "sub_C4404 @ 0xc448c"], "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"}