{"type": "func", "start": 320212, "end": 320266, "name": "sub_4E2D4", "pseudocode": "// \n// sub_4E2D4 from 0x4e2d4 to 0x4e30a (54 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x4e2d2\n// > FMOD::Geometry::save @ 0xb2872\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:42 +0000\n// \n\nint __fastcall sub_4E2D4(int a1, int a2, int *a3)\n{\n  int vars8; // [sp+Ch] [bp-4h] BYREF\n\n  if ( !a3 )\n    return 31;\n  if ( !a2 )\n    return sub_4E314(a1, 0, a3, 0, 0, sub_4E9F0);\n  vars8 = *a3;\n  return sub_4E314(a1, a2, &vars8, 1, 0, sub_4E9C0);\n}", "assembly": "; \n; sub_4E2D4 from 0x4e2d4 to 0x4e30a (54 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x4e2d2\n; > FMOD::Geometry::save @ 0xb2872\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:42 +0000\n; \nPUSH            {R3-R7,LR}                                             ; +0x0, 0x4e2d4\nADD             R7, SP, #0x10                                          ; +0x2, 0x4e2d6\nCBZ             R2, loc_4E2F0                                          ; +0x4, 0x4e2d8\nCBZ             R1, loc_4E2F4                                          ; +0x6, 0x4e2da\nLDR             R2, [R2]                                               ; +0x8, 0x4e2dc\nMOVS            R3, #0                                                 ; +0xa, 0x4e2de\nSTR             R2, [SP,#4+var_s8]                                     ; +0xc, 0x4e2e0\nLDR             R2, =(sub_4E9C0+1 - 0x4E2E8)                           ; +0xe, 0x4e2e2\nADD             R2, PC; sub_4E9C0                                      ; +0x10, 0x4e2e4\nSTRD.W          R3, R2, [SP,#4+var_4]                                  ; +0x12, 0x4e2e6\nADD             R2, SP, #4+var_s8                                      ; +0x16, 0x4e2ea\nMOVS            R3, #1                                                 ; +0x18, 0x4e2ec\nB               loc_4E302                                              ; +0x1a, 0x4e2ee\nMOVS            R0, #0x1F                                              ; +0x1c, 0x4e2f0\nB               loc_4E306                                              ; +0x1e, 0x4e2f2\nLDR             R1, =(sub_4E9F0+1 - 0x4E2FC)                           ; +0x20, 0x4e2f4\nMOVS            R3, #0                                                 ; +0x22, 0x4e2f6\nADD             R1, PC; sub_4E9F0                                      ; +0x24, 0x4e2f8\nSTRD.W          R3, R1, [SP,#4+var_4]                                  ; +0x26, 0x4e2fa\nMOVS            R1, #0                                                 ; +0x2a, 0x4e2fe\nMOVS            R3, #0                                                 ; +0x2c, 0x4e300\nBL              sub_4E314                                              ; +0x2e, 0x4e302\nADD             SP, SP, #0x10                                          ; +0x32, 0x4e306\nPOP             {R7,PC}                                                ; +0x34, 0x4e308", "xrefs": ["<???> @ 0x4e2d2", "FMOD::Geometry::save @ 0xb2872"], "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"}