{"type": "func", "start": 336156, "end": 336216, "name": "sub_5211C", "pseudocode": "// \n// sub_5211C from 0x5211c to 0x52158 (60 bytes)\n// \n// 1 xrefs:\n// > sub_51FB8 @ 0x51ff0\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:44 +0000\n// \n\nint __fastcall sub_5211C(int result)\n{\n  *(_WORD *)(result + 46) = 9264;\n  *(_BYTE *)(result + 44) = 1;\n  *(_DWORD *)(result + 32) = 0;\n  *(_DWORD *)(result + 36) = 0;\n  *(_DWORD *)(result + 40) = 0;\n  *(_DWORD *)result = &off_E4460;\n  *(_DWORD *)(result + 4) = -1;\n  *(_DWORD *)(result + 8) = result + 8;\n  *(_DWORD *)(result + 12) = result + 8;\n  *(_DWORD *)(result + 16) = 0;\n  *(_DWORD *)(result + 20) = result + 20;\n  *(_DWORD *)(result + 24) = result + 20;\n  *(_DWORD *)(result + 28) = 0;\n  return result;\n}", "assembly": "; \n; sub_5211C from 0x5211c to 0x52158 (60 bytes)\n; \n; 1 xrefs:\n; > sub_51FB8 @ 0x51ff0\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:44 +0000\n; \nPUSH            {R4,R5,R7,LR}                                          ; +0x0, 0x5211c\nADD             R7, SP, #8                                             ; +0x2, 0x5211e\nMOVW            R2, #0x2430                                            ; +0x4, 0x52120\nMOVS            R1, #0                                                 ; +0x8, 0x52124\nSTRH            R2, [R0,#0x2E]                                         ; +0xa, 0x52126\nMOVS            R2, #1                                                 ; +0xc, 0x52128\nSTRB.W          R2, [R0,#0x2C]                                         ; +0xe, 0x5212a\nADD.W           R3, R0, #8                                             ; +0x12, 0x5212e\nSTRD.W          R1, R1, [R0,#0x20]                                     ; +0x16, 0x52132\nADD.W           R5, R0, #0x14                                          ; +0x1a, 0x52136\nSTR             R1, [R0,#0x28]                                         ; +0x1e, 0x5213a\nMOV.W           R2, #0xFFFFFFFF                                        ; +0x20, 0x5213c\nLDR             R4, =(unk_E4458 - 0x52146)                             ; +0x24, 0x52140\nADD             R4, PC; unk_E4458                                      ; +0x26, 0x52142\nADDS            R4, #(off_E4460 - 0xE4458)                             ; +0x28, 0x52144\nSTRD.W          R4, R2, [R0]                                           ; +0x2a, 0x52146\nSTRD.W          R3, R3, [R0,#8]                                        ; +0x2e, 0x5214a\nSTRD.W          R1, R5, [R0,#0x10]                                     ; +0x32, 0x5214e\nSTRD.W          R5, R1, [R0,#0x18]                                     ; +0x36, 0x52152\nPOP             {R4,R5,R7,PC}                                          ; +0x3a, 0x52156", "xrefs": ["sub_51FB8 @ 0x51ff0"], "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"}