{"type": "func", "start": 4304090480, "end": 4304090765, "name": "AudioAssetsPopup::create", "pseudocode": "// \n// AudioAssetsPopup::create from 0x1008b3570 to 0x1008b368d (285 bytes)\n// \n// 1 xrefs:\n// > EditorPauseLayer::onDownloadAudio @ 0x10027e8c8\n// \n// This function is hookable on this platform (idp: pc, 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:37:22 +0000\n// \n\n_QWORD *__fastcall AudioAssetsPopup::create(unsigned int a1, unsigned int a2, __int64 a3, __int64 a4)\n{\n  _QWORD *v6; // rbx\n\n  v6 = operator new(0x408u);\n  SetupTriggerPopup::SetupTriggerPopup((__int64)v6);\n  *v6 = off_100BACD30;\n  v6[40] = off_100BAD328;\n  v6[41] = &off_100BAD398;\n  v6[42] = off_100BAD3B0;\n  v6[43] = off_100BAD3D0;\n  v6[44] = off_100BAD3F8;\n  v6[51] = off_100BAD428;\n  v6[54] = off_100BAD4A8;\n  v6[68] = off_100BAD4C8;\n  v6[83] = &off_100BAD510;\n  v6[84] = off_100BAD528;\n  v6[127] = off_100BAD548;\n  v6[128] = 0;\n  if ( (unsigned __int8)AudioAssetsPopup::init(v6, a1, a2, a3, a4) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v6);\n  }\n  else\n  {\n    (*(void (__fastcall **)(_QWORD *))(*v6 + 16LL))(v6);\n    return nullptr;\n  }\n  return v6;\n}", "assembly": "; \n; AudioAssetsPopup::create from 0x1008b3570 to 0x1008b368d (285 bytes)\n; \n; 1 xrefs:\n; > EditorPauseLayer::onDownloadAudio @ 0x10027e8c8\n; \n; This function is hookable on this platform (idp: pc, 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:37:22 +0000\n; \npush    rbp                                                            ; +0x0, 0x1008b3570\nmov     rbp, rsp                                                       ; +0x1, 0x1008b3571\npush    r15                                                            ; +0x4, 0x1008b3574\npush    r14                                                            ; +0x6, 0x1008b3576\npush    r13                                                            ; +0x8, 0x1008b3578\npush    r12                                                            ; +0xa, 0x1008b357a\npush    rbx                                                            ; +0xc, 0x1008b357c\npush    rax                                                            ; +0xd, 0x1008b357d\nmov     r14, rcx                                                       ; +0xe, 0x1008b357e\nmov     r15, rdx                                                       ; +0x11, 0x1008b3581\nmov     r12d, esi                                                      ; +0x14, 0x1008b3584\nmov     r13d, edi                                                      ; +0x17, 0x1008b3587\nmov     edi, 408h; __sz                                                ; +0x1a, 0x1008b358a\ncall    __Znwm; operator new(ulong)                                    ; +0x1f, 0x1008b358f\nmov     rbx, rax                                                       ; +0x24, 0x1008b3594\nmov     rdi, rax                                                       ; +0x27, 0x1008b3597\ncall    SetupTriggerPopup__SetupTriggerPopup                           ; +0x2a, 0x1008b359a\nlea     rax, off_100BACD30                                             ; +0x2f, 0x1008b359f\nmov     [rbx], rax                                                     ; +0x36, 0x1008b35a6\nlea     rax, off_100BAD328                                             ; +0x39, 0x1008b35a9\nmov     [rbx+140h], rax                                                ; +0x40, 0x1008b35b0\nlea     rax, off_100BAD398                                             ; +0x47, 0x1008b35b7\nmov     [rbx+148h], rax                                                ; +0x4e, 0x1008b35be\nlea     rax, off_100BAD3B0                                             ; +0x55, 0x1008b35c5\nmov     [rbx+150h], rax                                                ; +0x5c, 0x1008b35cc\nlea     rax, off_100BAD3D0                                             ; +0x63, 0x1008b35d3\nmov     [rbx+158h], rax                                                ; +0x6a, 0x1008b35da\nlea     rax, off_100BAD3F8                                             ; +0x71, 0x1008b35e1\nmov     [rbx+160h], rax                                                ; +0x78, 0x1008b35e8\nlea     rax, off_100BAD428                                             ; +0x7f, 0x1008b35ef\nmov     [rbx+198h], rax                                                ; +0x86, 0x1008b35f6\nlea     rax, off_100BAD4A8                                             ; +0x8d, 0x1008b35fd\nmov     [rbx+1B0h], rax                                                ; +0x94, 0x1008b3604\nlea     rax, off_100BAD4C8                                             ; +0x9b, 0x1008b360b\nmov     [rbx+220h], rax                                                ; +0xa2, 0x1008b3612\nlea     rax, off_100BAD510                                             ; +0xa9, 0x1008b3619\nmov     [rbx+298h], rax                                                ; +0xb0, 0x1008b3620\nlea     rax, off_100BAD528                                             ; +0xb7, 0x1008b3627\nmov     [rbx+2A0h], rax                                                ; +0xbe, 0x1008b362e\nlea     rax, off_100BAD548                                             ; +0xc5, 0x1008b3635\nmov     [rbx+3F8h], rax                                                ; +0xcc, 0x1008b363c\nmov     qword ptr [rbx+400h], 0                                        ; +0xd3, 0x1008b3643\nmov     rdi, rbx                                                       ; +0xde, 0x1008b364e\nmov     esi, r13d                                                      ; +0xe1, 0x1008b3651\nmov     edx, r12d                                                      ; +0xe4, 0x1008b3654\nmov     rcx, r15                                                       ; +0xe7, 0x1008b3657\nmov     r8, r14                                                        ; +0xea, 0x1008b365a\ncall    AudioAssetsPopup__init                                         ; +0xed, 0x1008b365d\ntest    al, al                                                         ; +0xf2, 0x1008b3662\njz      short loc_1008B3670                                            ; +0xf4, 0x1008b3664\nmov     rdi, rbx                                                       ; +0xf6, 0x1008b3666\ncall    cocos2d__CCObject__autorelease                                 ; +0xf9, 0x1008b3669\njmp     short loc_1008B367B                                            ; +0xfe, 0x1008b366e\nmov     rax, [rbx]                                                     ; +0x100, 0x1008b3670\nmov     rdi, rbx                                                       ; +0x103, 0x1008b3673\ncall    qword ptr [rax+10h]                                            ; +0x106, 0x1008b3676\nxor     ebx, ebx                                                       ; +0x109, 0x1008b3679\nmov     rax, rbx                                                       ; +0x10b, 0x1008b367b\nadd     rsp, 8                                                         ; +0x10e, 0x1008b367e\npop     rbx                                                            ; +0x112, 0x1008b3682\npop     r12                                                            ; +0x113, 0x1008b3683\npop     r13                                                            ; +0x115, 0x1008b3685\npop     r14                                                            ; +0x117, 0x1008b3687\npop     r15                                                            ; +0x119, 0x1008b3689\npop     rbp                                                            ; +0x11b, 0x1008b368b\nretn                                                                   ; +0x11c, 0x1008b368c", "xrefs": ["EditorPauseLayer::onDownloadAudio @ 0x10027e8c8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}