{"type": "func", "start": 672504, "end": 672630, "name": "sub_A42F8", "pseudocode": "// \n// sub_A42F8 from 0xa42f8 to 0xa4376 (126 bytes)\n// \n// 1 xrefs:\n// > sub_A4A60 @ 0xa4a6a\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\nint __fastcall sub_A42F8(int a1, int a2, int a3, int a4, int a5)\n{\n  float *v5; // r8\n  int i; // r12\n  int v7; // r6\n  unsigned int v8; // r5\n  float *v9; // r4\n  float *v10; // r0\n\n  if ( *(_DWORD *)(a1 + 1836) )\n  {\n    sub_AC638(a1 + 376, a2, a3, a5, a4, COERCE_INT((float)*(int *)(a1 + 1832)), *(float *)(a1 + 1892));\n  }\n  else\n  {\n    v5 = (float *)(a1 + 1892);\n    for ( i = 0; i < a5; ++i )\n    {\n      v7 = 0;\n      v8 = i;\n      while ( v8 < a5 * a4 )\n      {\n        v9 = (float *)(a2 + v7);\n        v10 = (float *)(a3 + v7);\n        v7 += 4 * a5;\n        v8 += a5;\n        *v10 = *v5 * *v9;\n      }\n      a3 += 4;\n      a2 += 4;\n    }\n  }\n  return 0;\n}", "assembly": "; \n; sub_A42F8 from 0xa42f8 to 0xa4376 (126 bytes)\n; \n; 1 xrefs:\n; > sub_A4A60 @ 0xa4a6a\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, 0xa42f8\nADD             R7, SP, #0xC                                           ; +0x2, 0xa42fa\nPUSH.W          {R4-R9,R11}                                            ; +0x4, 0xa42fc\nMOV             R4, R3                                                 ; +0x8, 0xa4300\nLDR.W           R5, [R0,#0x72C]                                        ; +0xa, 0xa4302\nLDR             R3, [R7,#-0x18+arg_0]; int                             ; +0xe, 0xa4306\nCBZ             R5, loc_A432C                                          ; +0x10, 0xa4308\nADD.W           R5, R0, #0x728                                         ; +0x12, 0xa430a\nVLDR            S0, [R5]                                               ; +0x16, 0xa430e\nVCVT.F32.S32    S0, S0                                                 ; +0x1a, 0xa4312\nLDR.W           R5, [R0,#0x764]                                        ; +0x1e, 0xa4316\nADD.W           R0, R0, #0x178; int                                    ; +0x22, 0xa431a\nSTR             R5, [SP,#0x10+var_8]; float                            ; +0x26, 0xa431e\nSTR             R4, [SP,#0x10+var_10]; int                             ; +0x28, 0xa4320\nVSTR            S0, [SP,#0x10+var_C]                                   ; +0x2a, 0xa4322\nBL              sub_AC638                                              ; +0x2e, 0xa4326\nB               loc_A436C                                              ; +0x32, 0xa432a\nMUL             R9, R3, R4                                             ; +0x34, 0xa432c\nADDW            R8, R0, #0x764                                         ; +0x38, 0xa4330\nMOV.W           LR, R3,LSL#2                                           ; +0x3c, 0xa4334\nMOV.W           R12, #0                                                ; +0x40, 0xa4338\nCMP             R12, R3                                                ; +0x44, 0xa433c\nBGE             loc_A436C                                              ; +0x46, 0xa433e\nMOVS            R6, #0                                                 ; +0x48, 0xa4340\nMOV             R5, R12                                                ; +0x4a, 0xa4342\nCMP             R5, R9                                                 ; +0x4c, 0xa4344\nBCS             loc_A4362                                              ; +0x4e, 0xa4346\nADDS            R4, R1, R6                                             ; +0x50, 0xa4348\nVLDR            S2, [R8]                                               ; +0x52, 0xa434a\nADDS            R0, R2, R6                                             ; +0x56, 0xa434e\nADD             R6, LR                                                 ; +0x58, 0xa4350\nVLDR            S0, [R4]                                               ; +0x5a, 0xa4352\nADD             R5, R3                                                 ; +0x5e, 0xa4356\nVMUL.F32        S0, S2, S0                                             ; +0x60, 0xa4358\nVSTR            S0, [R0]                                               ; +0x64, 0xa435c\nB               loc_A4344                                              ; +0x68, 0xa4360\nADDS            R2, #4                                                 ; +0x6a, 0xa4362\nADDS            R1, #4                                                 ; +0x6c, 0xa4364\nADD.W           R12, R12, #1                                           ; +0x6e, 0xa4366\nB               loc_A433C                                              ; +0x72, 0xa436a\nMOVS            R0, #0                                                 ; +0x74, 0xa436c\nADD             SP, SP, #0x10                                          ; +0x76, 0xa436e\nPOP.W           {R8,R9,R11}                                            ; +0x78, 0xa4370\nPOP             {R4-R7,PC}                                             ; +0x7c, 0xa4374", "xrefs": ["sub_A4A60 @ 0xa4a6a"], "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"}