{"type": "func", "start": 315888, "end": 315928, "name": "sub_4D1F0", "pseudocode": "// \n// sub_4D1F0 from 0x4d1f0 to 0x4d218 (40 bytes)\n// \n// 1 xrefs:\n// > sub_5B6F0 @ 0x5b71e\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\nint __fastcall sub_4D1F0(int a1, float a2)\n{\n  if ( *(float *)(a1 + 352) != a2 )\n  {\n    *(float *)(a1 + 352) = a2;\n    if ( *(_DWORD *)(a1 + 340) )\n      sub_503D8();\n  }\n  return 0;\n}", "assembly": "; \n; sub_4D1F0 from 0x4d1f0 to 0x4d218 (40 bytes)\n; \n; 1 xrefs:\n; > sub_5B6F0 @ 0x5b71e\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\nPUSH            {R7,LR}                                                ; +0x0, 0x4d1f0\nMOV             R7, SP                                                 ; +0x2, 0x4d1f2\nVMOV            S0, R1                                                 ; +0x4, 0x4d1f4\nVLDR            S2, [R0,#0x160]                                        ; +0x8, 0x4d1f8\nVCMP.F32        S2, S0                                                 ; +0xc, 0x4d1fc\nVMRS            APSR_nzcv, FPSCR                                       ; +0x10, 0x4d200\nBEQ             loc_4D214                                              ; +0x14, 0x4d204\nVSTR            S0, [R0,#0x160]                                        ; +0x16, 0x4d206\nLDR.W           R0, [R0,#0x154]                                        ; +0x1a, 0x4d20a\nCBZ             R0, loc_4D214                                          ; +0x1e, 0x4d20e\nBL              sub_503D8                                              ; +0x20, 0x4d210\nMOVS            R0, #0                                                 ; +0x24, 0x4d214\nPOP             {R7,PC}                                                ; +0x26, 0x4d216", "xrefs": ["sub_5B6F0 @ 0x5b71e"], "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"}