{"type": "func", "start": 4300013696, "end": 4300013764, "name": "FMOD::Codec::defaultFileSize", "pseudocode": "// \n// FMOD::Codec::defaultFileSize from 0x1004d0080 to 0x1004d00c4 (68 bytes)\n// \n// 2 xrefs:\n// > sub_1004CFA1C @ 0x1004cff74\n// > <???> @ 0x100760288\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\n__int64 __fastcall FMOD::Codec::defaultFileSize(__int64 a1, _DWORD *a2)\n{\n  __int64 result; // x0\n\n  result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 368) + 24LL))(*(_QWORD *)(a1 + 368));\n  if ( a2 )\n    *a2 -= *(_DWORD *)(a1 + 272);\n  return result;\n}", "assembly": "; \n; FMOD::Codec::defaultFileSize from 0x1004d0080 to 0x1004d00c4 (68 bytes)\n; \n; 2 xrefs:\n; > sub_1004CFA1C @ 0x1004cff74\n; > <???> @ 0x100760288\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1004d0080\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1004d0084\nADD             X29, SP, #0x10                                         ; +0x8, 0x1004d0088\nMOV             X19, X1                                                ; +0xc, 0x1004d008c\nMOV             X20, X0                                                ; +0x10, 0x1004d0090\nLDR             X0, [X0,#0x170]                                        ; +0x14, 0x1004d0094\nLDR             X8, [X0]                                               ; +0x18, 0x1004d0098\nLDR             X8, [X8,#0x18]                                         ; +0x1c, 0x1004d009c\nBLR             X8                                                     ; +0x20, 0x1004d00a0\nCBZ             X19, loc_1004D00B8                                     ; +0x24, 0x1004d00a4\nLDR             W8, [X20,#0x110]                                       ; +0x28, 0x1004d00a8\nLDR             W9, [X19]                                              ; +0x2c, 0x1004d00ac\nSUB             W8, W9, W8                                             ; +0x30, 0x1004d00b0\nSTR             W8, [X19]                                              ; +0x34, 0x1004d00b4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x38, 0x1004d00b8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x3c, 0x1004d00bc\nRET                                                                    ; +0x40, 0x1004d00c0", "xrefs": ["sub_1004CFA1C @ 0x1004cff74", "<???> @ 0x100760288"], "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"}