{"type": "func", "start": 339932, "end": 339976, "name": "sub_52FDC", "pseudocode": "// \n// sub_52FDC from 0x52fdc to 0x53008 (44 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10c248\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_52FDC(__int64 a1)\n{\n  __int64 v1; // x8\n  float v2; // s0\n  char v3; // w9\n\n  v1 = *(_QWORD *)(a1 + 24);\n  v2 = *(float *)(*(_QWORD *)(v1 + 32) + 492LL);\n  if ( v2 != *(float *)(a1 + 780) && (v3 = *(_BYTE *)(a1 + 56), *(float *)(a1 + 780) = v2, (v3 & 8) != 0) )\n    return (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)a1 + 104LL))(a1, *(float *)(v1 + 48));\n  else\n    return 0;\n}", "assembly": "; \n; sub_52FDC from 0x52fdc to 0x53008 (44 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10c248\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\nLDR             X8, [X0,#0x18]                                         ; +0x0, 0x52fdc\nLDR             S1, [X0,#0x30C]                                        ; +0x4, 0x52fe0\nLDR             X9, [X8,#0x20]                                         ; +0x8, 0x52fe4\nLDR             S0, [X9,#0x1EC]                                        ; +0xc, 0x52fe8\nFCMP            S0, S1                                                 ; +0x10, 0x52fec\nB.EQ            loc_53000                                              ; +0x14, 0x52ff0\nLDRB            W9, [X0,#0x38]                                         ; +0x18, 0x52ff4\nSTR             S0, [X0,#0x30C]                                        ; +0x1c, 0x52ff8\nTBNZ            W9, #3, loc_53004                                      ; +0x20, 0x52ffc\nB               loc_53E60                                              ; +0x24, 0x53000\nB               loc_53E24                                              ; +0x28, 0x53004", "xrefs": ["<???> @ 0x10c248"], "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"}