{"type": "func", "start": 4300013636, "end": 4300013696, "name": "FMOD::Codec::defaultFileTell", "pseudocode": "// \n// FMOD::Codec::defaultFileTell from 0x1004d0044 to 0x1004d0080 (60 bytes)\n// \n// 2 xrefs:\n// > sub_1004CFA1C @ 0x1004cff68\n// > <???> @ 0x100760290\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::defaultFileTell(__int64 a1, _DWORD *a2)\n{\n  __int64 result; // x0\n\n  result = sub_1004AAA30(*(_QWORD *)(a1 + 368), a2);\n  if ( a2 )\n    *a2 -= *(_DWORD *)(a1 + 272);\n  return result;\n}", "assembly": "; \n; FMOD::Codec::defaultFileTell from 0x1004d0044 to 0x1004d0080 (60 bytes)\n; \n; 2 xrefs:\n; > sub_1004CFA1C @ 0x1004cff68\n; > <???> @ 0x100760290\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, 0x1004d0044\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1004d0048\nADD             X29, SP, #0x10                                         ; +0x8, 0x1004d004c\nMOV             X19, X1                                                ; +0xc, 0x1004d0050\nMOV             X20, X0                                                ; +0x10, 0x1004d0054\nLDR             X0, [X0,#0x170]                                        ; +0x14, 0x1004d0058\nBL              sub_1004AAA30                                          ; +0x18, 0x1004d005c\nCBZ             X19, loc_1004D0074                                     ; +0x1c, 0x1004d0060\nLDR             W8, [X20,#0x110]                                       ; +0x20, 0x1004d0064\nLDR             W9, [X19]                                              ; +0x24, 0x1004d0068\nSUB             W8, W9, W8                                             ; +0x28, 0x1004d006c\nSTR             W8, [X19]                                              ; +0x2c, 0x1004d0070\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x30, 0x1004d0074\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x34, 0x1004d0078\nRET                                                                    ; +0x38, 0x1004d007c", "xrefs": ["sub_1004CFA1C @ 0x1004cff68", "<???> @ 0x100760290"], "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"}