{"type": "func", "start": 403240, "end": 403330, "name": "FMOD::SystemI::createMemoryFile", "pseudocode": "// \n// FMOD::SystemI::createMemoryFile from 0x62728 to 0x62782 (90 bytes)\n// \n// 1 xrefs:\n// > FMOD::SystemI::createMemoryFile @ 0xe2d78\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:52 +0000\n// \n\nint __fastcall FMOD::SystemI::createMemoryFile(int a1, int *a2)\n{\n  int v4; // r5\n  int v5; // r0\n  int v6; // r1\n  int v7; // r2\n  int v8; // r4\n  int v9; // r0\n\n  v4 = 0;\n  v5 = sub_BD410(*(int *)((char *)&dword_14C + (_DWORD)off_E8000), 428, \"../../src/fmod_systemi_sound.cpp\", 482);\n  if ( !v5 )\n    return 38;\n  v8 = v5;\n  v9 = sub_6278C(v5, v6, v7);\n  sub_BBE7C(v9, a1, 0, 0, 0, 0, 1);\n  *a2 = v8;\n  return v4;\n}", "assembly": "; \n; FMOD::SystemI::createMemoryFile from 0x62728 to 0x62782 (90 bytes)\n; \n; 1 xrefs:\n; > FMOD::SystemI::createMemoryFile @ 0xe2d78\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:52 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0x62728\nADD             R7, SP, #0xC                                           ; +0x2, 0x6272a\nPUSH.W          {R8}                                                   ; +0x4, 0x6272c\nSUB             SP, SP, #0x10                                          ; +0x8, 0x62730\nMOV             R6, R0                                                 ; +0xa, 0x62732\nLDR             R0, =(off_E6144 - 0x6273E)                             ; +0xc, 0x62734\nMOV             R8, R1                                                 ; +0xe, 0x62736\nMOVS            R1, #1                                                 ; +0x10, 0x62738\nADD             R0, PC; off_E6144                                      ; +0x12, 0x6273a\nMOVS            R5, #0                                                 ; +0x14, 0x6273c\nMOV.W           R3, #0x1E2                                             ; +0x16, 0x6273e\nLDR             R0, [R0]; off_E8000                                    ; +0x1a, 0x62742\nLDR             R0, [R0]; dword_F2488                                  ; +0x1c, 0x62744\nLDR.W           R0, [R0,#(dword_F25D4 - 0xF2488)]                      ; +0x1e, 0x62746\nSTRD.W          R5, R5, [SP,#0x10+var_10]                              ; +0x22, 0x6274a\nSTR             R1, [SP,#0x10+var_8]                                   ; +0x26, 0x6274e\nMOV.W           R1, #0x1AC                                             ; +0x28, 0x62750\nLDR             R2, =(aSrcFmodSystemi_3 - 0x6275A); \"../../src/fmod_systemi_sound.cpp\" ... ; +0x2c, 0x62754\nADD             R2, PC; \"../../src/fmod_systemi_sound.cpp\"             ; +0x2e, 0x62756\nBL              sub_BD410                                              ; +0x30, 0x62758\nCBZ             R0, loc_62776                                          ; +0x34, 0x6275c\nMOV             R4, R0                                                 ; +0x36, 0x6275e\nBL              sub_6278C                                              ; +0x38, 0x62760\nMOV             R1, R6                                                 ; +0x3c, 0x62764\nMOVS            R2, #0                                                 ; +0x3e, 0x62766\nMOVS            R3, #0                                                 ; +0x40, 0x62768\nSTR             R5, [SP,#0x10+var_10]                                  ; +0x42, 0x6276a\nBL              sub_BBE7C                                              ; +0x44, 0x6276c\nSTR.W           R4, [R8]                                               ; +0x48, 0x62770\nB               loc_62778                                              ; +0x4c, 0x62774\nMOVS            R5, #0x26 ; '&'                                        ; +0x4e, 0x62776\nMOV             R0, R5                                                 ; +0x50, 0x62778\nADD             SP, SP, #0x10                                          ; +0x52, 0x6277a\nPOP.W           {R8}                                                   ; +0x54, 0x6277c\nPOP             {R4-R7,PC}                                             ; +0x58, 0x62780", "xrefs": ["FMOD::SystemI::createMemoryFile @ 0xe2d78"], "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"}