{"type": "func", "start": 385988, "end": 386054, "name": "sub_5E3C4", "pseudocode": "// \n// sub_5E3C4 from 0x5e3c4 to 0x5e406 (66 bytes)\n// \n// 1 xrefs:\n// > sub_5DBEC @ 0x5dbfe\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:40:50 +0000\n// \n\nint __fastcall sub_5E3C4(_DWORD *a1)\n{\n  int i; // r5\n  int j; // r6\n  int v4; // r0\n  int v5; // r0\n\n  if ( a1[12] )\n  {\n    for ( i = 0; i < a1[4]; ++i )\n    {\n      for ( j = 0; ; ++j )\n      {\n        v4 = a1[5];\n        if ( j >= v4 )\n          break;\n        v5 = *(_DWORD *)(a1[12] + 4 * (j + i * v4));\n        (*(void (__fastcall **)(int))(*(_DWORD *)v5 + 20))(v5);\n      }\n    }\n    a1[10] = 0;\n  }\n  return 0;\n}", "assembly": "; \n; sub_5E3C4 from 0x5e3c4 to 0x5e406 (66 bytes)\n; \n; 1 xrefs:\n; > sub_5DBEC @ 0x5dbfe\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:40:50 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0x5e3c4\nADD             R7, SP, #0xC                                           ; +0x2, 0x5e3c6\nPUSH.W          {R11}                                                  ; +0x4, 0x5e3c8\nMOV             R4, R0                                                 ; +0x8, 0x5e3cc\nLDR             R0, [R0,#0x30]                                         ; +0xa, 0x5e3ce\nCBZ             R0, loc_5E3FE                                          ; +0xc, 0x5e3d0\nMOVS            R5, #0                                                 ; +0xe, 0x5e3d2\nLDR             R0, [R4,#0x10]                                         ; +0x10, 0x5e3d4\nCMP             R5, R0                                                 ; +0x12, 0x5e3d6\nBGE             loc_5E3FA                                              ; +0x14, 0x5e3d8\nMOVS            R6, #0                                                 ; +0x16, 0x5e3da\nLDR             R0, [R4,#0x14]                                         ; +0x18, 0x5e3dc\nCMP             R6, R0                                                 ; +0x1a, 0x5e3de\nBGE             loc_5E3F6                                              ; +0x1c, 0x5e3e0\nMLA             R0, R5, R0, R6                                         ; +0x1e, 0x5e3e2\nLDR             R1, [R4,#0x30]                                         ; +0x22, 0x5e3e6\nLDR.W           R0, [R1,R0,LSL#2]                                      ; +0x24, 0x5e3e8\nLDR             R1, [R0]                                               ; +0x28, 0x5e3ec\nLDR             R1, [R1,#0x14]                                         ; +0x2a, 0x5e3ee\nBLX             R1                                                     ; +0x2c, 0x5e3f0\nADDS            R6, #1                                                 ; +0x2e, 0x5e3f2\nB               loc_5E3DC                                              ; +0x30, 0x5e3f4\nADDS            R5, #1                                                 ; +0x32, 0x5e3f6\nB               loc_5E3D4                                              ; +0x34, 0x5e3f8\nMOVS            R0, #0                                                 ; +0x36, 0x5e3fa\nSTR             R0, [R4,#0x28]                                         ; +0x38, 0x5e3fc\nMOVS            R0, #0                                                 ; +0x3a, 0x5e3fe\nPOP.W           {R11}                                                  ; +0x3c, 0x5e400\nPOP             {R4-R7,PC}                                             ; +0x40, 0x5e404", "xrefs": ["sub_5DBEC @ 0x5dbfe"], "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"}