{"type": "func", "start": 583312, "end": 583382, "name": "sub_8E690", "pseudocode": "// \n// sub_8E690 from 0x8e690 to 0x8e6d6 (70 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0x8e68e\n// > sub_4CA88 @ 0x4cb0e\n// > sub_61B58 @ 0x61dba\n// > sub_8E614 @ 0x8e672\n// > sub_A354E @ 0xa362c\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:41:24 +0000\n// \n\nint __fastcall sub_8E690(int a1, float a2, int a3, int a4)\n{\n  float v4; // s2\n\n  if ( a4 )\n  {\n    v4 = 0.0;\n    *(_DWORD *)(a1 + 76) = 0;\n  }\n  else\n  {\n    if ( *(float *)(a1 + 52) == a2 )\n      return 0;\n    v4 = *(float *)(a1 + 76);\n  }\n  *(float *)(a1 + 52) = a2;\n  if ( v4 == a2 )\n  {\n    *(_DWORD *)(a1 + 80) = 0;\n  }\n  else\n  {\n    *(_DWORD *)(a1 + 80) = a3;\n    if ( !a3 )\n      sub_8D46E(a1);\n  }\n  return 0;\n}", "assembly": "; \n; sub_8E690 from 0x8e690 to 0x8e6d6 (70 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0x8e68e\n; > sub_4CA88 @ 0x4cb0e\n; > sub_61B58 @ 0x61dba\n; > sub_8E614 @ 0x8e672\n; > sub_A354E @ 0xa362c\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:41:24 +0000\n; \nPUSH            {R7,LR}                                                ; +0x0, 0x8e690\nMOV             R7, SP                                                 ; +0x2, 0x8e692\nVMOV            S0, R1                                                 ; +0x4, 0x8e694\nCBZ             R3, loc_8E6A4                                          ; +0x8, 0x8e698\nMOVS            R1, #0                                                 ; +0xa, 0x8e69a\nVLDR            S2, =0.0                                               ; +0xc, 0x8e69c\nSTR             R1, [R0,#0x4C]                                         ; +0x10, 0x8e6a0\nB               loc_8E6B6                                              ; +0x12, 0x8e6a2\nVLDR            S2, [R0,#0x34]                                         ; +0x14, 0x8e6a4\nVCMP.F32        S2, S0                                                 ; +0x18, 0x8e6a8\nVMRS            APSR_nzcv, FPSCR                                       ; +0x1c, 0x8e6ac\nBEQ             loc_8E6D2                                              ; +0x20, 0x8e6b0\nVLDR            S2, [R0,#0x4C]                                         ; +0x22, 0x8e6b2\nVCMP.F32        S2, S0                                                 ; +0x26, 0x8e6b6\nVSTR            S0, [R0,#0x34]                                         ; +0x2a, 0x8e6ba\nVMRS            APSR_nzcv, FPSCR                                       ; +0x2e, 0x8e6be\nBNE             loc_8E6CA                                              ; +0x32, 0x8e6c2\nMOVS            R1, #0                                                 ; +0x34, 0x8e6c4\nSTR             R1, [R0,#0x50]                                         ; +0x36, 0x8e6c6\nB               loc_8E6D2                                              ; +0x38, 0x8e6c8\nSTR             R2, [R0,#0x50]                                         ; +0x3a, 0x8e6ca\nCBNZ            R2, loc_8E6D2                                          ; +0x3c, 0x8e6cc\nBL              sub_8D46E                                              ; +0x3e, 0x8e6ce\nMOVS            R0, #0                                                 ; +0x42, 0x8e6d2\nPOP             {R7,PC}                                                ; +0x44, 0x8e6d4", "xrefs": ["<???> @ 0x8e68e", "sub_4CA88 @ 0x4cb0e", "sub_61B58 @ 0x61dba", "sub_8E614 @ 0x8e672", "sub_A354E @ 0xa362c"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}