{"type": "func", "start": 4301996096, "end": 4301996268, "name": "EditButtonBar::init", "pseudocode": "// \n// EditButtonBar::init from 0x1006b4040 to 0x1006b40ec (172 bytes)\n// \n// 1 xrefs:\n// > EditButtonBar::create @ 0x1006b3fdd\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\nchar __fastcall EditButtonBar::init(\n        __int64 a1,\n        __int64 a2,\n        _QWORD *a3,\n        int a4,\n        char a5,\n        unsigned int a6,\n        unsigned int a7)\n{\n  char result; // al\n  __int64 v12; // rax\n  __int64 v13; // rdi\n  __int64 v14; // rax\n  char v16; // [rsp+7h] [rbp-29h]\n\n  result = cocos2d::CCNode::init();\n  if ( result )\n  {\n    v16 = result;\n    v12 = sub_1007FE900(a1);\n    *(_QWORD *)(a1 + 336) = v12;\n    cocos2d::CCObject::retain(v12);\n    v13 = *(_QWORD *)(a1 + 336);\n    sub_1007FEF70(v13, a2);\n    v14 = sub_1007FE900(v13);\n    *(_QWORD *)(a1 + 352) = v14;\n    cocos2d::CCObject::retain(v14);\n    sub_100278300((_QWORD *)(a1 + 316), a3);\n    *(_DWORD *)(a1 + 324) = a4;\n    *(_BYTE *)(a1 + 328) = a5;\n    EditButtonBar::loadFromItems(a1, *(_QWORD *)(a1 + 336), a6, a7, 0);\n    return v16;\n  }\n  return result;\n}", "assembly": "; \n; EditButtonBar::init from 0x1006b4040 to 0x1006b40ec (172 bytes)\n; \n; 1 xrefs:\n; > EditButtonBar::create @ 0x1006b3fdd\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, 0x1006b4040\nmov     rbp, rsp                                                       ; +0x1, 0x1006b4041\npush    r15                                                            ; +0x4, 0x1006b4044\npush    r14                                                            ; +0x6, 0x1006b4046\npush    r13                                                            ; +0x8, 0x1006b4048\npush    r12                                                            ; +0xa, 0x1006b404a\npush    rbx                                                            ; +0xc, 0x1006b404c\npush    rax                                                            ; +0xd, 0x1006b404d\nmov     [rbp+var_30], r9d                                              ; +0xe, 0x1006b404e\nmov     r14d, r8d                                                      ; +0x12, 0x1006b4052\nmov     r12d, ecx                                                      ; +0x15, 0x1006b4055\nmov     r13, rdx                                                       ; +0x18, 0x1006b4058\nmov     rbx, rsi                                                       ; +0x1b, 0x1006b405b\nmov     r15, rdi                                                       ; +0x1e, 0x1006b405e\ncall    cocos2d__CCNode__init                                          ; +0x21, 0x1006b4061\ntest    al, al                                                         ; +0x26, 0x1006b4066\njz      short loc_1006B40DD                                            ; +0x28, 0x1006b4068\nmov     [rbp+var_29], al                                               ; +0x2a, 0x1006b406a\ncall    sub_1007FE900                                                  ; +0x2d, 0x1006b406d\nmov     [r15+150h], rax                                                ; +0x32, 0x1006b4072\nmov     rdi, rax                                                       ; +0x39, 0x1006b4079\ncall    cocos2d__CCObject__retain                                      ; +0x3c, 0x1006b407c\nmov     rdi, [r15+150h]                                                ; +0x41, 0x1006b4081\nmov     rsi, rbx                                                       ; +0x48, 0x1006b4088\ncall    sub_1007FEF70                                                  ; +0x4b, 0x1006b408b\ncall    sub_1007FE900                                                  ; +0x50, 0x1006b4090\nmov     [r15+160h], rax                                                ; +0x55, 0x1006b4095\nmov     rdi, rax                                                       ; +0x5c, 0x1006b409c\ncall    cocos2d__CCObject__retain                                      ; +0x5f, 0x1006b409f\nlea     rdi, [r15+13Ch]                                                ; +0x64, 0x1006b40a4\nmov     rsi, r13                                                       ; +0x6b, 0x1006b40ab\ncall    sub_100278300                                                  ; +0x6e, 0x1006b40ae\nmov     [r15+144h], r12d                                               ; +0x73, 0x1006b40b3\nmov     [r15+148h], r14b                                               ; +0x7a, 0x1006b40ba\nmov     rsi, [r15+150h]                                                ; +0x81, 0x1006b40c1\nmov     rdi, r15                                                       ; +0x88, 0x1006b40c8\nmov     edx, [rbp+var_30]                                              ; +0x8b, 0x1006b40cb\nmov     ecx, [rbp+arg_0]                                               ; +0x8e, 0x1006b40ce\nxor     r8d, r8d                                                       ; +0x91, 0x1006b40d1\ncall    EditButtonBar__loadFromItems                                   ; +0x94, 0x1006b40d4\nmovzx   eax, [rbp+var_29]                                              ; +0x99, 0x1006b40d9\nadd     rsp, 8                                                         ; +0x9d, 0x1006b40dd\npop     rbx                                                            ; +0xa1, 0x1006b40e1\npop     r12                                                            ; +0xa2, 0x1006b40e2\npop     r13                                                            ; +0xa4, 0x1006b40e4\npop     r14                                                            ; +0xa6, 0x1006b40e6\npop     r15                                                            ; +0xa8, 0x1006b40e8\npop     rbp                                                            ; +0xaa, 0x1006b40ea\nretn                                                                   ; +0xab, 0x1006b40eb", "xrefs": ["EditButtonBar::create @ 0x1006b3fdd"], "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"}