{"type": "func", "start": 676984, "end": 677094, "name": "sub_A5478", "pseudocode": "// \n// sub_A5478 from 0xa5478 to 0xa54e6 (110 bytes)\n// \n// 1 xrefs:\n// > sub_A5300 @ 0xa5346\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:34 +0000\n// \n\nfloat __fastcall sub_A5478(int a1, float a2, int a3)\n{\n  int v4; // r5\n  int v5; // r4\n  float v6; // s16\n  float v7; // r0\n  float v8; // s18\n  float v9; // s16\n  float v10; // r0\n  float v11; // s16\n  float v12; // s18\n\n  v4 = a1 + 9476;\n  v5 = a1 + 16 * a3;\n  v6 = *(float *)(a1 + 9476);\n  v7 = sub_6D5B0(v5 + 1280, a2);\n  v8 = *(float *)(v4 + 20);\n  v9 = v7 * v6;\n  v10 = sub_6D5B0(v5 + 3328, a2);\n  v11 = v9 - (float)(sub_6D5B0(v5 + 5376, v10) * v8);\n  v12 = *(float *)(v4 + 40);\n  return v11 + (float)(sub_6D5B0(v5 + 7424, a2) * v12);\n}", "assembly": "; \n; sub_A5478 from 0xa5478 to 0xa54e6 (110 bytes)\n; \n; 1 xrefs:\n; > sub_A5300 @ 0xa5346\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:34 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0xa5478\nADD             R7, SP, #0xC                                           ; +0x2, 0xa547a\nPUSH.W          {R8}                                                   ; +0x4, 0xa547c\nVPUSH           {D8-D9}                                                ; +0x8, 0xa5480\nMOV             R8, R1                                                 ; +0xc, 0xa5484\nMOVW            R1, #0x2504                                            ; +0xe, 0xa5486\nADDS            R5, R0, R1                                             ; +0x12, 0xa548a\nADD.W           R4, R0, R2,LSL#4                                       ; +0x14, 0xa548c\nADD.W           R0, R4, #0x500                                         ; +0x18, 0xa5490\nMOV             R1, R8                                                 ; +0x1c, 0xa5494\nVLDR            S16, [R5]                                              ; +0x1e, 0xa5496\nLDR             R6, =(sub_6D5B0+1 - 0xA54A0)                           ; +0x22, 0xa549a\nADD             R6, PC; sub_6D5B0                                      ; +0x24, 0xa549c\nBLX             R6; sub_6D5B0                                          ; +0x26, 0xa549e\nVMOV            S0, R0                                                 ; +0x28, 0xa54a0\nADD.W           R0, R4, #0xD00                                         ; +0x2c, 0xa54a4\nMOV             R1, R8                                                 ; +0x30, 0xa54a8\nVLDR            S18, [R5,#0x14]                                        ; +0x32, 0xa54aa\nVMUL.F32        S16, S0, S16                                           ; +0x36, 0xa54ae\nBLX             R6; sub_6D5B0                                          ; +0x3a, 0xa54b2\nMOV             R1, R0                                                 ; +0x3c, 0xa54b4\nADD.W           R0, R4, #0x1500                                        ; +0x3e, 0xa54b6\nBLX             R6; sub_6D5B0                                          ; +0x42, 0xa54ba\nVMOV            S0, R0                                                 ; +0x44, 0xa54bc\nADD.W           R0, R4, #0x1D00                                        ; +0x48, 0xa54c0\nMOV             R1, R8                                                 ; +0x4c, 0xa54c4\nVMLS.F32        S16, S0, S18                                           ; +0x4e, 0xa54c6\nVLDR            S18, [R5,#0x28]                                        ; +0x52, 0xa54ca\nBLX             R6; sub_6D5B0                                          ; +0x56, 0xa54ce\nVMOV            S0, R0                                                 ; +0x58, 0xa54d0\nVMLA.F32        S16, S0, S18                                           ; +0x5c, 0xa54d4\nVMOV            R0, S16                                                ; +0x60, 0xa54d8\nVPOP            {D8-D9}                                                ; +0x64, 0xa54dc\nPOP.W           {R8}                                                   ; +0x68, 0xa54e0\nPOP             {R4-R7,PC}                                             ; +0x6c, 0xa54e4", "xrefs": ["sub_A5300 @ 0xa5346"], "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"}