{"type": "func", "start": 332632, "end": 332694, "name": "sub_51358", "pseudocode": "// \n// sub_51358 from 0x51358 to 0x51396 (62 bytes)\n// \n// 3 xrefs:\n// > sub_50F6C @ 0x511a4\n// > sub_50F6C @ 0x51204\n// > sub_56BEC @ 0x5712e\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_51358(int a1, int a2, int a3, int a4, int a5)\n{\n  _DWORD v10[10]; // [sp+8h] [bp-40h] BYREF\n\n  memset(v10, 0, 0x24u);\n  v10[4] = a5;\n  v10[2] = 376;\n  return sub_51554(a1, v10, a2, a3, a4);\n}", "assembly": "; \n; sub_51358 from 0x51358 to 0x51396 (62 bytes)\n; \n; 3 xrefs:\n; > sub_50F6C @ 0x511a4\n; > sub_50F6C @ 0x51204\n; > sub_56BEC @ 0x5712e\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            {R4-R7,LR}                                             ; +0x0, 0x51358\nADD             R7, SP, #0xC                                           ; +0x2, 0x5135a\nPUSH.W          {R8,R9,R11}                                            ; +0x4, 0x5135c\nSUB             SP, SP, #0x30                                          ; +0x8, 0x51360\nADD.W           R9, SP, #0x30+var_28                                   ; +0xa, 0x51362\nMOV             R6, R1                                                 ; +0xe, 0x51366\nMOV             R5, R0                                                 ; +0x10, 0x51368\nMOVS            R1, #0x24 ; '$'                                        ; +0x12, 0x5136a\nMOV             R0, R9                                                 ; +0x14, 0x5136c\nMOV             R4, R3                                                 ; +0x16, 0x5136e\nMOV             R8, R2                                                 ; +0x18, 0x51370\nBLX             __aeabi_memclr8                                        ; +0x1a, 0x51372\nLDR             R0, [R7,#-0x18+arg_0]                                  ; +0x1e, 0x51376\nMOV             R1, R9                                                 ; +0x20, 0x51378\nSTR             R0, [SP,#0x30+var_18]                                  ; +0x22, 0x5137a\nMOV.W           R0, #0x178                                             ; +0x24, 0x5137c\nSTR             R0, [SP,#0x30+var_20]                                  ; +0x28, 0x51380\nMOV             R0, R5                                                 ; +0x2a, 0x51382\nMOV             R2, R6                                                 ; +0x2c, 0x51384\nMOV             R3, R8                                                 ; +0x2e, 0x51386\nSTR             R4, [SP,#0x30+var_30]                                  ; +0x30, 0x51388\nBL              sub_51554                                              ; +0x32, 0x5138a\nADD             SP, SP, #0x30 ; '0'                                    ; +0x36, 0x5138e\nPOP.W           {R8,R9,R11}                                            ; +0x38, 0x51390\nPOP             {R4-R7,PC}                                             ; +0x3c, 0x51394", "xrefs": ["sub_50F6C @ 0x511a4", "sub_50F6C @ 0x51204", "sub_56BEC @ 0x5712e"], "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"}