{"type": "func", "start": 4300246496, "end": 4300246793, "name": "GJRateEditorSoundLayer::create", "pseudocode": "// \n// GJRateEditorSoundLayer::create from 0x100508de0 to 0x100508f09 (297 bytes)\n// \n// 1 xrefs:\n// > EditorSoundConfigInfoLayer::onFeatureAdmin @ 0x1008f848b\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:31:33 +0000\n// \n\n_QWORD *__fastcall GJRateEditorSoundLayer::create(__int64 a1)\n{\n  _QWORD *v1; // rbx\n\n  v1 = operator new(0x428u);\n  __bzero(v1, 1064);\n  SetupTriggerPopup::SetupTriggerPopup((__int64)v1);\n  *v1 = off_100B66478;\n  v1[40] = off_100B66A88;\n  v1[41] = &off_100B66AF8;\n  v1[42] = off_100B66B10;\n  v1[43] = off_100B66B30;\n  v1[44] = off_100B66B58;\n  v1[51] = off_100B66B88;\n  v1[54] = off_100B66C08;\n  v1[68] = off_100B66C28;\n  v1[83] = &off_100B66C70;\n  v1[84] = off_100B66C88;\n  v1[127] = &off_100B66CA8;\n  v1[128] = off_100B66CC0;\n  v1[129] = &off_100B66CE0;\n  *((_OWORD *)v1 + 65) = 0;\n  *((_BYTE *)v1 + 1056) = 0;\n  if ( (unsigned __int8)GJRateEditorSoundLayer::init(v1, a1) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v1);\n  }\n  else\n  {\n    (*(void (__fastcall **)(_QWORD *))(*v1 + 16LL))(v1);\n    return nullptr;\n  }\n  return v1;\n}", "assembly": "; \n; GJRateEditorSoundLayer::create from 0x100508de0 to 0x100508f09 (297 bytes)\n; \n; 1 xrefs:\n; > EditorSoundConfigInfoLayer::onFeatureAdmin @ 0x1008f848b\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:31:33 +0000\n; \npush    rbp                                                            ; +0x0, 0x100508de0\nmov     rbp, rsp                                                       ; +0x1, 0x100508de1\npush    r14                                                            ; +0x4, 0x100508de4\npush    rbx                                                            ; +0x6, 0x100508de6\nmov     r14, rdi                                                       ; +0x7, 0x100508de7\nmov     edi, 428h; __sz                                                ; +0xa, 0x100508dea\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x100508def\nmov     rbx, rax                                                       ; +0x14, 0x100508df4\nmov     esi, 428h                                                      ; +0x17, 0x100508df7\nmov     rdi, rax                                                       ; +0x1c, 0x100508dfc\ncall    ___bzero                                                       ; +0x1f, 0x100508dff\nmov     rdi, rbx                                                       ; +0x24, 0x100508e04\ncall    SetupTriggerPopup__SetupTriggerPopup                           ; +0x27, 0x100508e07\nlea     rax, off_100B66478                                             ; +0x2c, 0x100508e0c\nmov     [rbx], rax                                                     ; +0x33, 0x100508e13\nlea     rax, off_100B66A88                                             ; +0x36, 0x100508e16\nmov     [rbx+140h], rax                                                ; +0x3d, 0x100508e1d\nlea     rax, off_100B66AF8                                             ; +0x44, 0x100508e24\nmov     [rbx+148h], rax                                                ; +0x4b, 0x100508e2b\nlea     rax, off_100B66B10                                             ; +0x52, 0x100508e32\nmov     [rbx+150h], rax                                                ; +0x59, 0x100508e39\nlea     rax, off_100B66B30                                             ; +0x60, 0x100508e40\nmov     [rbx+158h], rax                                                ; +0x67, 0x100508e47\nlea     rax, off_100B66B58                                             ; +0x6e, 0x100508e4e\nmov     [rbx+160h], rax                                                ; +0x75, 0x100508e55\nlea     rax, off_100B66B88                                             ; +0x7c, 0x100508e5c\nmov     [rbx+198h], rax                                                ; +0x83, 0x100508e63\nlea     rax, off_100B66C08                                             ; +0x8a, 0x100508e6a\nmov     [rbx+1B0h], rax                                                ; +0x91, 0x100508e71\nlea     rax, off_100B66C28                                             ; +0x98, 0x100508e78\nmov     [rbx+220h], rax                                                ; +0x9f, 0x100508e7f\nlea     rax, off_100B66C70                                             ; +0xa6, 0x100508e86\nmov     [rbx+298h], rax                                                ; +0xad, 0x100508e8d\nlea     rax, off_100B66C88                                             ; +0xb4, 0x100508e94\nmov     [rbx+2A0h], rax                                                ; +0xbb, 0x100508e9b\nlea     rax, off_100B66CA8                                             ; +0xc2, 0x100508ea2\nmov     [rbx+3F8h], rax                                                ; +0xc9, 0x100508ea9\nlea     rax, off_100B66CC0                                             ; +0xd0, 0x100508eb0\nmov     [rbx+400h], rax                                                ; +0xd7, 0x100508eb7\nlea     rax, off_100B66CE0                                             ; +0xde, 0x100508ebe\nmov     [rbx+408h], rax                                                ; +0xe5, 0x100508ec5\nxorps   xmm0, xmm0                                                     ; +0xec, 0x100508ecc\nmovups  xmmword ptr [rbx+410h], xmm0                                   ; +0xef, 0x100508ecf\nmov     byte ptr [rbx+420h], 0                                         ; +0xf6, 0x100508ed6\nmov     rdi, rbx                                                       ; +0xfd, 0x100508edd\nmov     rsi, r14                                                       ; +0x100, 0x100508ee0\ncall    GJRateEditorSoundLayer__init                                   ; +0x103, 0x100508ee3\ntest    al, al                                                         ; +0x108, 0x100508ee8\njz      short loc_100508EF6                                            ; +0x10a, 0x100508eea\nmov     rdi, rbx                                                       ; +0x10c, 0x100508eec\ncall    cocos2d__CCObject__autorelease                                 ; +0x10f, 0x100508eef\njmp     short loc_100508F01                                            ; +0x114, 0x100508ef4\nmov     rax, [rbx]                                                     ; +0x116, 0x100508ef6\nmov     rdi, rbx                                                       ; +0x119, 0x100508ef9\ncall    qword ptr [rax+10h]                                            ; +0x11c, 0x100508efc\nxor     ebx, ebx                                                       ; +0x11f, 0x100508eff\nmov     rax, rbx                                                       ; +0x121, 0x100508f01\npop     rbx                                                            ; +0x124, 0x100508f04\npop     r14                                                            ; +0x125, 0x100508f05\npop     rbp                                                            ; +0x127, 0x100508f07\nretn                                                                   ; +0x128, 0x100508f08", "xrefs": ["EditorSoundConfigInfoLayer::onFeatureAdmin @ 0x1008f848b"], "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"}