{"type": "func", "start": 4298695072, "end": 4298695191, "name": "BoomScrollLayer::create", "pseudocode": "// \n// BoomScrollLayer::create from 0x10038e1a0 to 0x10038e217 (119 bytes)\n// \n// 5 xrefs:\n// > WorldSelectLayer::setupWorlds @ 0x1003abe0c\n// > LevelSelectLayer::init @ 0x10041faff\n// > GauntletSelectLayer::setupGauntlets @ 0x10059f7b8\n// > SecretRewardsLayer::init @ 0x10070e914\n// > SecretRewardsLayer::createSecondaryLayer @ 0x1007105ea\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:29:12 +0000\n// \n\nvoid *__fastcall BoomScrollLayer::create(__int64 a1, unsigned int a2, unsigned __int8 a3, __int64 a4, __int64 a5)\n{\n  void *v7; // rbx\n\n  v7 = operator new(0x278u);\n  BoomScrollLayer::BoomScrollLayer(v7);\n  if ( (unsigned __int8)BoomScrollLayer::init(v7, a1, a2, a3, a4, a5) )\n  {\n    cocos2d::CCObject::autorelease(v7);\n  }\n  else\n  {\n    (*(void (__fastcall **)(void *))(*(_QWORD *)v7 + 16LL))(v7);\n    return nullptr;\n  }\n  return v7;\n}", "assembly": "; \n; BoomScrollLayer::create from 0x10038e1a0 to 0x10038e217 (119 bytes)\n; \n; 5 xrefs:\n; > WorldSelectLayer::setupWorlds @ 0x1003abe0c\n; > LevelSelectLayer::init @ 0x10041faff\n; > GauntletSelectLayer::setupGauntlets @ 0x10059f7b8\n; > SecretRewardsLayer::init @ 0x10070e914\n; > SecretRewardsLayer::createSecondaryLayer @ 0x1007105ea\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:29:12 +0000\n; \npush    rbp                                                            ; +0x0, 0x10038e1a0\nmov     rbp, rsp                                                       ; +0x1, 0x10038e1a1\npush    r15                                                            ; +0x4, 0x10038e1a4\npush    r14                                                            ; +0x6, 0x10038e1a6\npush    r13                                                            ; +0x8, 0x10038e1a8\npush    r12                                                            ; +0xa, 0x10038e1aa\npush    rbx                                                            ; +0xc, 0x10038e1ac\npush    rax                                                            ; +0xd, 0x10038e1ad\nmov     [rbp+var_30], r8                                               ; +0xe, 0x10038e1ae\nmov     r15, rcx                                                       ; +0x12, 0x10038e1b2\nmov     r14d, edx                                                      ; +0x15, 0x10038e1b5\nmov     r12d, esi                                                      ; +0x18, 0x10038e1b8\nmov     r13, rdi                                                       ; +0x1b, 0x10038e1bb\nmov     edi, 278h; __sz                                                ; +0x1e, 0x10038e1be\ncall    __Znwm; operator new(ulong)                                    ; +0x23, 0x10038e1c3\nmov     rbx, rax                                                       ; +0x28, 0x10038e1c8\nmov     rdi, rax                                                       ; +0x2b, 0x10038e1cb\ncall    BoomScrollLayer__BoomScrollLayer                               ; +0x2e, 0x10038e1ce\nmovzx   ecx, r14b                                                      ; +0x33, 0x10038e1d3\nmov     rdi, rbx                                                       ; +0x37, 0x10038e1d7\nmov     rsi, r13                                                       ; +0x3a, 0x10038e1da\nmov     edx, r12d                                                      ; +0x3d, 0x10038e1dd\nmov     r8, r15                                                        ; +0x40, 0x10038e1e0\nmov     r9, [rbp+var_30]                                               ; +0x43, 0x10038e1e3\ncall    BoomScrollLayer__init                                          ; +0x47, 0x10038e1e7\ntest    al, al                                                         ; +0x4c, 0x10038e1ec\njz      short loc_10038E1FA                                            ; +0x4e, 0x10038e1ee\nmov     rdi, rbx                                                       ; +0x50, 0x10038e1f0\ncall    cocos2d__CCObject__autorelease                                 ; +0x53, 0x10038e1f3\njmp     short loc_10038E205                                            ; +0x58, 0x10038e1f8\nmov     rax, [rbx]                                                     ; +0x5a, 0x10038e1fa\nmov     rdi, rbx                                                       ; +0x5d, 0x10038e1fd\ncall    qword ptr [rax+10h]                                            ; +0x60, 0x10038e200\nxor     ebx, ebx                                                       ; +0x63, 0x10038e203\nmov     rax, rbx                                                       ; +0x65, 0x10038e205\nadd     rsp, 8                                                         ; +0x68, 0x10038e208\npop     rbx                                                            ; +0x6c, 0x10038e20c\npop     r12                                                            ; +0x6d, 0x10038e20d\npop     r13                                                            ; +0x6f, 0x10038e20f\npop     r14                                                            ; +0x71, 0x10038e211\npop     r15                                                            ; +0x73, 0x10038e213\npop     rbp                                                            ; +0x75, 0x10038e215\nretn                                                                   ; +0x76, 0x10038e216", "xrefs": ["WorldSelectLayer::setupWorlds @ 0x1003abe0c", "LevelSelectLayer::init @ 0x10041faff", "GauntletSelectLayer::setupGauntlets @ 0x10059f7b8", "SecretRewardsLayer::init @ 0x10070e914", "SecretRewardsLayer::createSecondaryLayer @ 0x1007105ea"], "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"}