{"type": "func", "start": 4298788704, "end": 4298788806, "name": "BoomScrollLayer::create_1", "pseudocode": "// \n// BoomScrollLayer::create_1 from 0x1003a4f60 to 0x1003a4fc6 (102 bytes)\n// \n// 2 xrefs:\n// > ListButtonBar::init @ 0x1003effdc\n// > EditButtonBar::loadFromItems @ 0x1005e2103\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nBoomScrollLayer *__fastcall BoomScrollLayer::create_1(cocos2d::CCArray *a1, int a2, bool a3)\n{\n  BoomScrollLayer *v4; // rbx\n\n  v4 = (BoomScrollLayer *)operator new(0x270u);\n  BoomScrollLayer::BoomScrollLayer(v4);\n  if ( BoomScrollLayer::init(v4, a1, a2, a3, nullptr, nullptr) )\n  {\n    cocos2d::CCObject::autorelease(v4);\n  }\n  else\n  {\n    ((void (__fastcall *)(BoomScrollLayer *))v4->~BoomScrollLayer_0)(v4);\n    return nullptr;\n  }\n  return v4;\n}", "assembly": "; \n; BoomScrollLayer::create_1 from 0x1003a4f60 to 0x1003a4fc6 (102 bytes)\n; \n; 2 xrefs:\n; > ListButtonBar::init @ 0x1003effdc\n; > EditButtonBar::loadFromItems @ 0x1005e2103\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x1003a4f60\nmov     rbp, rsp                                                       ; +0x1, 0x1003a4f61\npush    r15                                                            ; +0x4, 0x1003a4f64\npush    r14                                                            ; +0x6, 0x1003a4f66\npush    r12                                                            ; +0x8, 0x1003a4f68\npush    rbx                                                            ; +0xa, 0x1003a4f6a\nmov     r12d, edx                                                      ; +0xb, 0x1003a4f6b\nmov     r14d, esi                                                      ; +0xe, 0x1003a4f6e\nmov     r15, rdi                                                       ; +0x11, 0x1003a4f71\nmov     edi, 270h; __sz                                                ; +0x14, 0x1003a4f74\ncall    __Znwm; operator new(ulong)                                    ; +0x19, 0x1003a4f79\nmov     rbx, rax                                                       ; +0x1e, 0x1003a4f7e\nmov     rdi, rax                                                       ; +0x21, 0x1003a4f81\ncall    BoomScrollLayer__BoomScrollLayer                               ; +0x24, 0x1003a4f84\nmovzx   ecx, r12b                                                      ; +0x29, 0x1003a4f89\nmov     rdi, rbx                                                       ; +0x2d, 0x1003a4f8d\nmov     rsi, r15                                                       ; +0x30, 0x1003a4f90\nmov     edx, r14d                                                      ; +0x33, 0x1003a4f93\nxor     r8d, r8d                                                       ; +0x36, 0x1003a4f96\nxor     r9d, r9d                                                       ; +0x39, 0x1003a4f99\ncall    BoomScrollLayer__init                                          ; +0x3c, 0x1003a4f9c\ntest    al, al                                                         ; +0x41, 0x1003a4fa1\njz      short loc_1003A4FAF                                            ; +0x43, 0x1003a4fa3\nmov     rdi, rbx                                                       ; +0x45, 0x1003a4fa5\ncall    cocos2d__CCObject__autorelease                                 ; +0x48, 0x1003a4fa8\njmp     short loc_1003A4FBA                                            ; +0x4d, 0x1003a4fad\nmov     rax, [rbx]                                                     ; +0x4f, 0x1003a4faf\nmov     rdi, rbx                                                       ; +0x52, 0x1003a4fb2\ncall    qword ptr [rax+10h]                                            ; +0x55, 0x1003a4fb5\nxor     ebx, ebx                                                       ; +0x58, 0x1003a4fb8\nmov     rax, rbx                                                       ; +0x5a, 0x1003a4fba\npop     rbx                                                            ; +0x5d, 0x1003a4fbd\npop     r12                                                            ; +0x5e, 0x1003a4fbe\npop     r14                                                            ; +0x60, 0x1003a4fc0\npop     r15                                                            ; +0x62, 0x1003a4fc2\npop     rbp                                                            ; +0x64, 0x1003a4fc4\nretn                                                                   ; +0x65, 0x1003a4fc5", "xrefs": ["ListButtonBar::init @ 0x1003effdc", "EditButtonBar::loadFromItems @ 0x1005e2103"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}