{"type": "func", "start": 315928, "end": 315970, "name": "sub_4D218", "pseudocode": "// \n// sub_4D218 from 0x4d218 to 0x4d242 (42 bytes)\n// \n// 1 xrefs:\n// > sub_4CE80 @ 0x4ceb0\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:41 +0000\n// \n\nint __fastcall sub_4D218(int a1)\n{\n  int v2; // r0\n  int v3; // r5\n\n  v2 = *(_DWORD *)(a1 + 348);\n  *(_DWORD *)(a1 + 348) = 0;\n  while ( v2 )\n  {\n    *(_BYTE *)(v2 + 256) = 0;\n    v3 = *(_DWORD *)(v2 + 252);\n    *(_DWORD *)(v2 + 252) = 0;\n    sub_4DD08();\n    v2 = v3;\n  }\n  return 0;\n}", "assembly": "; \n; sub_4D218 from 0x4d218 to 0x4d242 (42 bytes)\n; \n; 1 xrefs:\n; > sub_4CE80 @ 0x4ceb0\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:41 +0000\n; \nPUSH            {R4,R5,R7,LR}                                          ; +0x0, 0x4d218\nADD             R7, SP, #8                                             ; +0x2, 0x4d21a\nMOV             R1, R0                                                 ; +0x4, 0x4d21c\nLDR.W           R0, [R0,#0x15C]                                        ; +0x6, 0x4d21e\nMOVS            R4, #0                                                 ; +0xa, 0x4d222\nSTR.W           R4, [R1,#0x15C]                                        ; +0xc, 0x4d224\nCBZ             R0, loc_4D23E                                          ; +0x10, 0x4d228\nSTRB.W          R4, [R0,#0x100]                                        ; +0x12, 0x4d22a\nLDR.W           R5, [R0,#0xFC]                                         ; +0x16, 0x4d22e\nSTR.W           R4, [R0,#0xFC]                                         ; +0x1a, 0x4d232\nBL              sub_4DD08                                              ; +0x1e, 0x4d236\nMOV             R0, R5                                                 ; +0x22, 0x4d23a\nB               loc_4D228                                              ; +0x24, 0x4d23c\nMOVS            R0, #0                                                 ; +0x26, 0x4d23e\nPOP             {R4,R5,R7,PC}                                          ; +0x28, 0x4d240", "xrefs": ["sub_4CE80 @ 0x4ceb0"], "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"}