{"type": "func", "start": 846832, "end": 846932, "name": "sub_CEBF0", "pseudocode": "// \n// sub_CEBF0 from 0xcebf0 to 0xcec54 (100 bytes)\n// \n// 2 xrefs:\n// > FMOD::Channel::getPosition @ 0xcebc0\n// > FMOD::Sound::getLength @ 0xd8dbc\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:14:50 +0000\n// \n\n__int64 __fastcall sub_CEBF0(__int64 a1, __int64 a2, _DWORD *a3, unsigned int a4)\n{\n  int v5; // w20\n  int v7; // w22\n  __int64 v8; // x22\n\n  v5 = a2;\n  v7 = sub_71660(a1, a2, a3);\n  v8 = (int)sub_715AC((_BYTE *)(a1 + v7), v5 - v7, \", \") + (__int64)v7;\n  return (unsigned int)v8 + (unsigned int)sub_71514((_BYTE *)(a1 + v8), (unsigned int)(v5 - v8), a4);\n}", "assembly": "; \n; sub_CEBF0 from 0xcebf0 to 0xcec54 (100 bytes)\n; \n; 2 xrefs:\n; > FMOD::Channel::getPosition @ 0xcebc0\n; > FMOD::Sound::getLength @ 0xd8dbc\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:14:50 +0000\n; \nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0xcebf0\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0xcebf4\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0xcebf8\nADD             X29, SP, #0x20                                         ; +0xc, 0xcebfc\nMOV             W19, W3                                                ; +0x10, 0xcec00\nMOV             W20, W1                                                ; +0x14, 0xcec04\nMOV             X21, X0                                                ; +0x18, 0xcec08\nBL              sub_71660                                              ; +0x1c, 0xcec0c\nMOV             W22, W0                                                ; +0x20, 0xcec10\nADRP            X2, #asc_2DA9C@PAGE; \", \"                              ; +0x24, 0xcec14\nADD             X0, X21, W0,SXTW                                       ; +0x28, 0xcec18\nSUB             W1, W20, W22                                           ; +0x2c, 0xcec1c\nADD             X2, X2, #asc_2DA9C@PAGEOFF; \", \"                       ; +0x30, 0xcec20\nBL              sub_715AC                                              ; +0x34, 0xcec24\nSXTW            X8, W0                                                 ; +0x38, 0xcec28\nADD             X22, X8, W22,SXTW                                      ; +0x3c, 0xcec2c\nADD             X0, X21, X22                                           ; +0x40, 0xcec30\nSUB             W1, W20, W22                                           ; +0x44, 0xcec34\nMOV             W2, W19                                                ; +0x48, 0xcec38\nBL              sub_71514                                              ; +0x4c, 0xcec3c\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x50, 0xcec40\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x54, 0xcec44\nADD             W0, W22, W0                                            ; +0x58, 0xcec48\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x5c, 0xcec4c\nRET                                                                    ; +0x60, 0xcec50", "xrefs": ["FMOD::Channel::getPosition @ 0xcebc0", "FMOD::Sound::getLength @ 0xd8dbc"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}