{"type": "func", "start": 4301995856, "end": 4301996045, "name": "EditButtonBar::create", "pseudocode": "// \n// EditButtonBar::create from 0x1006b3f50 to 0x1006b400d (189 bytes)\n// \n// 16 xrefs:\n// > EditorUI::setupCreateMenu @ 0x1006213a3\n// > EditorUI::setupCreateMenu @ 0x100621ace\n// > EditorUI::setupCreateMenu @ 0x100622beb\n// > EditorUI::setupCreateMenu @ 0x1006231cd\n// > EditorUI::setupCreateMenu @ 0x100624890\n// > EditorUI::setupCreateMenu @ 0x100624f0a\n// > EditorUI::setupCreateMenu @ 0x100626112\n// > EditorUI::setupCreateMenu @ 0x100631600\n// > EditorUI::setupCreateMenu @ 0x1006327ce\n// > EditorUI::setupCreateMenu @ 0x1006340a1\n// > EditorUI::setupCreateMenu @ 0x100635cbd\n// > EditorUI::setupCreateMenu @ 0x1006368a6\n// > EditorUI::setupCreateMenu @ 0x1006377f5\n// > EditorUI::setupCreateMenu @ 0x1006378ca\n// > EditorUI::createMoveMenu @ 0x10063a172\n// > EditorUI::setupViewMenu @ 0x10063dda8\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:35:26 +0000\n// \n\n_OWORD *__fastcall EditButtonBar::create(__int64 a1, _QWORD *a2, int a3, int a4, int a5, int a6)\n{\n  _OWORD *v9; // rbx\n  __int64 v11; // [rsp+8h] [rbp-48h] BYREF\n  __int64 v12; // [rsp+10h] [rbp-40h]\n  _QWORD *v13; // [rsp+18h] [rbp-38h]\n  int v14; // [rsp+24h] [rbp-2Ch]\n\n  v14 = a4;\n  v13 = a2;\n  v12 = a1;\n  v9 = operator new(0x170u);\n  cocos2d::CCNode::CCNode((__int64)v9);\n  *(_QWORD *)v9 = off_100B89010;\n  sub_1002782A0((_OWORD *)((char *)v9 + 316));\n  v9[22] = 0;\n  v9[21] = 0;\n  sub_1002782D0(&v11, v13);\n  if ( (unsigned __int8)EditButtonBar::init((_DWORD)v9, v12, (unsigned int)&v11, a3, (unsigned __int8)v14, a5, a6) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v9);\n  }\n  else\n  {\n    (*(void (__fastcall **)(_OWORD *))(*(_QWORD *)v9 + 16LL))(v9);\n    return nullptr;\n  }\n  return v9;\n}", "assembly": "; \n; EditButtonBar::create from 0x1006b3f50 to 0x1006b400d (189 bytes)\n; \n; 16 xrefs:\n; > EditorUI::setupCreateMenu @ 0x1006213a3\n; > EditorUI::setupCreateMenu @ 0x100621ace\n; > EditorUI::setupCreateMenu @ 0x100622beb\n; > EditorUI::setupCreateMenu @ 0x1006231cd\n; > EditorUI::setupCreateMenu @ 0x100624890\n; > EditorUI::setupCreateMenu @ 0x100624f0a\n; > EditorUI::setupCreateMenu @ 0x100626112\n; > EditorUI::setupCreateMenu @ 0x100631600\n; > EditorUI::setupCreateMenu @ 0x1006327ce\n; > EditorUI::setupCreateMenu @ 0x1006340a1\n; > EditorUI::setupCreateMenu @ 0x100635cbd\n; > EditorUI::setupCreateMenu @ 0x1006368a6\n; > EditorUI::setupCreateMenu @ 0x1006377f5\n; > EditorUI::setupCreateMenu @ 0x1006378ca\n; > EditorUI::createMoveMenu @ 0x10063a172\n; > EditorUI::setupViewMenu @ 0x10063dda8\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:35:26 +0000\n; \npush    rbp                                                            ; +0x0, 0x1006b3f50\nmov     rbp, rsp                                                       ; +0x1, 0x1006b3f51\npush    r15                                                            ; +0x4, 0x1006b3f54\npush    r14                                                            ; +0x6, 0x1006b3f56\npush    r13                                                            ; +0x8, 0x1006b3f58\npush    r12                                                            ; +0xa, 0x1006b3f5a\npush    rbx                                                            ; +0xc, 0x1006b3f5c\nsub     rsp, 28h                                                       ; +0xd, 0x1006b3f5d\nmov     r15d, r9d                                                      ; +0x11, 0x1006b3f61\nmov     r13d, r8d                                                      ; +0x14, 0x1006b3f64\nmov     [rbp+var_2C], ecx                                              ; +0x17, 0x1006b3f67\nmov     r14d, edx                                                      ; +0x1a, 0x1006b3f6a\nmov     [rbp+var_38], rsi                                              ; +0x1d, 0x1006b3f6d\nmov     [rbp+var_40], rdi                                              ; +0x21, 0x1006b3f71\nmov     edi, 170h; __sz                                                ; +0x25, 0x1006b3f75\ncall    __Znwm; operator new(ulong)                                    ; +0x2a, 0x1006b3f7a\nmov     rbx, rax                                                       ; +0x2f, 0x1006b3f7f\nmov     rdi, rax                                                       ; +0x32, 0x1006b3f82\ncall    cocos2d__CCNode__CCNode                                        ; +0x35, 0x1006b3f85\nlea     rax, off_100B89010                                             ; +0x3a, 0x1006b3f8a\nmov     [rbx], rax                                                     ; +0x41, 0x1006b3f91\nmov     rdi, rbx                                                       ; +0x44, 0x1006b3f94\nadd     rdi, 13Ch                                                      ; +0x47, 0x1006b3f97\ncall    sub_1002782A0                                                  ; +0x4e, 0x1006b3f9e\nxorps   xmm0, xmm0                                                     ; +0x53, 0x1006b3fa3\nmovups  xmmword ptr [rbx+160h], xmm0                                   ; +0x56, 0x1006b3fa6\nmovups  xmmword ptr [rbx+150h], xmm0                                   ; +0x5d, 0x1006b3fad\nlea     r12, [rbp+var_48]                                              ; +0x64, 0x1006b3fb4\nmov     rdi, r12                                                       ; +0x68, 0x1006b3fb8\nmov     rsi, [rbp+var_38]                                              ; +0x6b, 0x1006b3fbb\ncall    sub_1002782D0                                                  ; +0x6f, 0x1006b3fbf\nmov     [rsp+50h+var_50], r15d                                         ; +0x74, 0x1006b3fc4\nmovzx   r8d, byte ptr [rbp+var_2C]                                     ; +0x78, 0x1006b3fc8\nmov     rdi, rbx                                                       ; +0x7d, 0x1006b3fcd\nmov     rsi, [rbp+var_40]                                              ; +0x80, 0x1006b3fd0\nmov     rdx, r12                                                       ; +0x84, 0x1006b3fd4\nmov     ecx, r14d                                                      ; +0x87, 0x1006b3fd7\nmov     r9d, r13d                                                      ; +0x8a, 0x1006b3fda\ncall    EditButtonBar__init                                            ; +0x8d, 0x1006b3fdd\ntest    al, al                                                         ; +0x92, 0x1006b3fe2\njz      short loc_1006B3FF0                                            ; +0x94, 0x1006b3fe4\nmov     rdi, rbx                                                       ; +0x96, 0x1006b3fe6\ncall    cocos2d__CCObject__autorelease                                 ; +0x99, 0x1006b3fe9\njmp     short loc_1006B3FFB                                            ; +0x9e, 0x1006b3fee\nmov     rax, [rbx]                                                     ; +0xa0, 0x1006b3ff0\nmov     rdi, rbx                                                       ; +0xa3, 0x1006b3ff3\ncall    qword ptr [rax+10h]                                            ; +0xa6, 0x1006b3ff6\nxor     ebx, ebx                                                       ; +0xa9, 0x1006b3ff9\nmov     rax, rbx                                                       ; +0xab, 0x1006b3ffb\nadd     rsp, 28h                                                       ; +0xae, 0x1006b3ffe\npop     rbx                                                            ; +0xb2, 0x1006b4002\npop     r12                                                            ; +0xb3, 0x1006b4003\npop     r13                                                            ; +0xb5, 0x1006b4005\npop     r14                                                            ; +0xb7, 0x1006b4007\npop     r15                                                            ; +0xb9, 0x1006b4009\npop     rbp                                                            ; +0xbb, 0x1006b400b\nretn                                                                   ; +0xbc, 0x1006b400c", "xrefs": ["EditorUI::setupCreateMenu @ 0x1006213a3", "EditorUI::setupCreateMenu @ 0x100621ace", "EditorUI::setupCreateMenu @ 0x100622beb", "EditorUI::setupCreateMenu @ 0x1006231cd", "EditorUI::setupCreateMenu @ 0x100624890", "EditorUI::setupCreateMenu @ 0x100624f0a", "EditorUI::setupCreateMenu @ 0x100626112", "EditorUI::setupCreateMenu @ 0x100631600", "EditorUI::setupCreateMenu @ 0x1006327ce", "EditorUI::setupCreateMenu @ 0x1006340a1", "EditorUI::setupCreateMenu @ 0x100635cbd", "EditorUI::setupCreateMenu @ 0x1006368a6", "EditorUI::setupCreateMenu @ 0x1006377f5", "EditorUI::setupCreateMenu @ 0x1006378ca", "EditorUI::createMoveMenu @ 0x10063a172", "EditorUI::setupViewMenu @ 0x10063dda8"], "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"}