{"type": "func", "start": 5372248496, "end": 5372248839, "name": "GJEditorSoundConfig::create_1", "pseudocode": "// \n// GJEditorSoundConfig::create_1 from 0x1403601b0 to 0x140360307 (343 bytes)\n// \n// 6 xrefs:\n// > EditorSFXManager::dataLoaded @ 0x14018b1d2\n// > EditorSFXManager::dataLoaded @ 0x14018b2a2\n// > EditorSFXManager::createMyConfigFromLive @ 0x14018b9e2\n// > EditorSFXManager::copyFavoriteToMyConfig @ 0x14018bbcf\n// > GJEditorSoundConfig::create @ 0x140360348\n// > <???> @ 0x14092135c\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 11:30:52 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nchar *GJEditorSoundConfig::create_1()\n{\n  char *v0; // rbx\n  bool (__fastcall *v1)(cocos2d::CCNode *); // rdx\n  bool v2; // al\n\n  v0 = (char *)operator new(0x228u);\n  cocos2d::CCNode::CCNode((cocos2d::CCNode *)v0);\n  *(_QWORD *)v0 = &GJEditorSoundConfig::`vftable';\n  *((_QWORD *)v0 + 40) = 0;\n  v0[328] = 0;\n  *(_QWORD *)(v0 + 332) = 0;\n  *(_QWORD *)(v0 + 340) = 0;\n  *(_QWORD *)(v0 + 348) = 0;\n  *(_QWORD *)(v0 + 356) = 0;\n  *(_QWORD *)(v0 + 364) = 0;\n  *((_DWORD *)v0 + 93) = 0;\n  v0[376] = 0;\n  *((_OWORD *)v0 + 24) = 0;\n  *((_QWORD *)v0 + 50) = 0;\n  *((_QWORD *)v0 + 51) = 15;\n  v0[384] = 0;\n  *((_OWORD *)v0 + 26) = 0;\n  *((_QWORD *)v0 + 54) = 0;\n  *((_QWORD *)v0 + 55) = 15;\n  v0[416] = 0;\n  *((_OWORD *)v0 + 28) = 0;\n  *((_QWORD *)v0 + 58) = 0;\n  *((_QWORD *)v0 + 59) = 15;\n  v0[448] = 0;\n  *((_OWORD *)v0 + 30) = 0;\n  *((_QWORD *)v0 + 62) = 0;\n  *((_QWORD *)v0 + 63) = 15;\n  v0[480] = 0;\n  *((_OWORD *)v0 + 32) = 0;\n  *((_QWORD *)v0 + 66) = 0;\n  *((_QWORD *)v0 + 67) = 15;\n  v0[512] = 0;\n  *((_WORD *)v0 + 272) = 0;\n  v1 = *(bool (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v0 + 72LL);\n  if ( v1 == CCNodeContainer::init )\n    v2 = cocos2d::CCNode::init((cocos2d::CCNode *)v0);\n  else\n    v2 = v1((cocos2d::CCNode *)v0);\n  if ( v2 )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);\n    return v0;\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v0 + 8LL))(v0, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; GJEditorSoundConfig::create_1 from 0x1403601b0 to 0x140360307 (343 bytes)\n; \n; 6 xrefs:\n; > EditorSFXManager::dataLoaded @ 0x14018b1d2\n; > EditorSFXManager::dataLoaded @ 0x14018b2a2\n; > EditorSFXManager::createMyConfigFromLive @ 0x14018b9e2\n; > EditorSFXManager::copyFavoriteToMyConfig @ 0x14018bbcf\n; > GJEditorSoundConfig::create @ 0x140360348\n; > <???> @ 0x14092135c\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 11:30:52 +0000\n; \npush    rbx                                                            ; +0x0, 0x1403601b0\nsub     rsp, 20h                                                       ; +0x2, 0x1403601b2\nmov     ecx, 228h; Size                                                ; +0x6, 0x1403601b6\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xb, 0x1403601bb\nmov     rbx, rax                                                       ; +0x10, 0x1403601c0\nmov     [rsp+28h+arg_0], rax                                           ; +0x13, 0x1403601c3\nmov     rcx, rax                                                       ; +0x18, 0x1403601c8\ncall    cs:??0CCNode@cocos2d@@QEAA@XZ; cocos2d::CCNode::CCNode(void)   ; +0x1b, 0x1403601cb\nlea     rax, ??_7GJEditorSoundConfig@@6B@; const GJEditorSoundConfig::`vftable' ; +0x21, 0x1403601d1\nmov     [rbx], rax                                                     ; +0x28, 0x1403601d8\nxor     eax, eax                                                       ; +0x2b, 0x1403601db\nmov     [rbx+140h], rax                                                ; +0x2d, 0x1403601dd\nmov     [rbx+148h], al                                                 ; +0x34, 0x1403601e4\nmov     [rbx+14Ch], rax                                                ; +0x3a, 0x1403601ea\nmov     [rbx+154h], rax                                                ; +0x41, 0x1403601f1\nmov     [rbx+15Ch], rax                                                ; +0x48, 0x1403601f8\nmov     [rbx+164h], rax                                                ; +0x4f, 0x1403601ff\nmov     [rbx+16Ch], rax                                                ; +0x56, 0x140360206\nmov     [rbx+174h], eax                                                ; +0x5d, 0x14036020d\nmov     [rbx+178h], al                                                 ; +0x63, 0x140360213\nxorps   xmm0, xmm0                                                     ; +0x69, 0x140360219\nmovups  xmmword ptr [rbx+180h], xmm0                                   ; +0x6c, 0x14036021c\nmov     [rbx+190h], rax                                                ; +0x73, 0x140360223\nmov     qword ptr [rbx+198h], 0Fh                                      ; +0x7a, 0x14036022a\nmov     [rbx+180h], al                                                 ; +0x85, 0x140360235\nmovups  xmmword ptr [rbx+1A0h], xmm0                                   ; +0x8b, 0x14036023b\nmov     [rbx+1B0h], rax                                                ; +0x92, 0x140360242\nmov     qword ptr [rbx+1B8h], 0Fh                                      ; +0x99, 0x140360249\nmov     [rbx+1A0h], al                                                 ; +0xa4, 0x140360254\nmovups  xmmword ptr [rbx+1C0h], xmm0                                   ; +0xaa, 0x14036025a\nmov     [rbx+1D0h], rax                                                ; +0xb1, 0x140360261\nmov     qword ptr [rbx+1D8h], 0Fh                                      ; +0xb8, 0x140360268\nmov     [rbx+1C0h], al                                                 ; +0xc3, 0x140360273\nmovups  xmmword ptr [rbx+1E0h], xmm0                                   ; +0xc9, 0x140360279\nmov     [rbx+1F0h], rax                                                ; +0xd0, 0x140360280\nmov     qword ptr [rbx+1F8h], 0Fh                                      ; +0xd7, 0x140360287\nmov     [rbx+1E0h], al                                                 ; +0xe2, 0x140360292\nmovups  xmmword ptr [rbx+200h], xmm0                                   ; +0xe8, 0x140360298\nmov     [rbx+210h], rax                                                ; +0xef, 0x14036029f\nmov     qword ptr [rbx+218h], 0Fh                                      ; +0xf6, 0x1403602a6\nmov     [rbx+200h], al                                                 ; +0x101, 0x1403602b1\nmov     [rbx+220h], ax                                                 ; +0x107, 0x1403602b7\nmov     rax, [rbx]                                                     ; +0x10e, 0x1403602be\nmov     rdx, [rax+48h]                                                 ; +0x111, 0x1403602c1\nlea     rax, CCNodeContainer__init; Merged with: CCNodeContainer::init, CheckpointObject::init, GJEditorSoundConfig::init, GJFriendRequest::init, GJObjectDecoder::init, GJSmartBlockPreviewSprite::init, GJUserMessage::init ; +0x115, 0x1403602c5\nmov     rcx, rbx                                                       ; +0x11c, 0x1403602cc\ncmp     rdx, rax                                                       ; +0x11f, 0x1403602cf\njnz     short loc_1403602DC                                            ; +0x122, 0x1403602d2\ncall    cs:__imp_?init@CCNode@cocos2d@@UEAA_NXZ; cocos2d::CCNode::init(void) ; +0x124, 0x1403602d4\njmp     short loc_1403602DE                                            ; +0x12a, 0x1403602da\ncall    rdx                                                            ; +0x12c, 0x1403602dc\nmov     rcx, rbx                                                       ; +0x12e, 0x1403602de\ntest    al, al                                                         ; +0x131, 0x1403602e1\njz      short loc_1403602F4                                            ; +0x133, 0x1403602e3\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x135, 0x1403602e5\nmov     rax, rbx                                                       ; +0x13b, 0x1403602eb\nadd     rsp, 20h                                                       ; +0x13e, 0x1403602ee\npop     rbx                                                            ; +0x142, 0x1403602f2\nretn                                                                   ; +0x143, 0x1403602f3\nmov     rax, [rbx]                                                     ; +0x144, 0x1403602f4\nmov     edx, 1                                                         ; +0x147, 0x1403602f7\ncall    qword ptr [rax+8]                                              ; +0x14c, 0x1403602fc\nxor     eax, eax                                                       ; +0x14f, 0x1403602ff\nadd     rsp, 20h                                                       ; +0x151, 0x140360301\npop     rbx                                                            ; +0x155, 0x140360305\nretn                                                                   ; +0x156, 0x140360306", "xrefs": ["EditorSFXManager::dataLoaded @ 0x14018b1d2", "EditorSFXManager::dataLoaded @ 0x14018b2a2", "EditorSFXManager::createMyConfigFromLive @ 0x14018b9e2", "EditorSFXManager::copyFavoriteToMyConfig @ 0x14018bbcf", "GJEditorSoundConfig::create @ 0x140360348", "<???> @ 0x14092135c"], "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"}