; ; BoomScrollLayer::create from 0x140040960 to 0x140040b53 (499 bytes) ; ; 7 xrefs: ; > ListButtonBar::init @ 0x140077fec ; > EditButtonBar::loadFromItems @ 0x140177455 ; > GauntletSelectLayer::setupGauntlets @ 0x1402ff29e ; > LevelSelectLayer::init @ 0x140441e69 ; > SecretRewardsLayer::init @ 0x14056a300 ; > SecretRewardsLayer::createSecondaryLayer @ 0x14056b05e ; > @ 0x14090f47c ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:25:29 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x140040960 mov [rsp+arg_8], rbp ; +0x5, 0x140040965 mov [rsp+arg_10], rsi ; +0xa, 0x14004096a mov [rsp+arg_18], rdi ; +0xf, 0x14004096f push r14 ; +0x14, 0x140040974 sub rsp, 40h ; +0x16, 0x140040976 mov rsi, r9 ; +0x1a, 0x14004097a movzx ebp, r8b ; +0x1d, 0x14004097d mov rdi, rcx ; +0x21, 0x140040981 mov ecx, 278h; Size ; +0x24, 0x140040984 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x29, 0x140040989 mov r14, rax ; +0x2e, 0x14004098e mov [rsp+48h+var_18], rax ; +0x31, 0x140040991 mov rcx, rax ; +0x36, 0x140040996 call cs:??0CCLayer@cocos2d@@QEAA@XZ; cocos2d::CCLayer::CCLayer(void) ; +0x39, 0x140040999 nop ; +0x3f, 0x14004099f lea rcx, [r14+198h] ; +0x40, 0x1400409a0 call cs:??0CCTouchClipper@cocos2d@@QEAA@XZ; cocos2d::CCTouchClipper::CCTouchClipper(void) ; +0x47, 0x1400409a7 nop ; +0x4d, 0x1400409ad lea rax, ??_7BoomScrollLayer@@6B@; const BoomScrollLayer::`vftable' ; +0x4e, 0x1400409ae mov [r14], rax ; +0x55, 0x1400409b5 lea rax, ??_7BoomScrollLayer@@6B@_0; const BoomScrollLayer::`vftable' ; +0x58, 0x1400409b8 mov [r14+140h], rax ; +0x5f, 0x1400409bf lea rax, ??_7BoomScrollLayer@@6B@_1; const BoomScrollLayer::`vftable' ; +0x66, 0x1400409c6 mov [r14+148h], rax ; +0x6d, 0x1400409cd lea rax, ??_7BoomScrollLayer@@6B@_2; const BoomScrollLayer::`vftable' ; +0x74, 0x1400409d4 mov [r14+150h], rax ; +0x7b, 0x1400409db lea rax, ??_7BoomScrollLayer@@6B@_3; const BoomScrollLayer::`vftable' ; +0x82, 0x1400409e2 mov [r14+158h], rax ; +0x89, 0x1400409e9 lea rax, ??_7BoomScrollLayer@@6B@_4; const BoomScrollLayer::`vftable' ; +0x90, 0x1400409f0 mov [r14+160h], rax ; +0x97, 0x1400409f7 lea rax, ??_7BoomScrollLayer@@6B@_5; const BoomScrollLayer::`vftable' ; +0x9e, 0x1400409fe mov [r14+198h], rax ; +0xa5, 0x140040a05 xor ebx, ebx ; +0xac, 0x140040a0c mov [r14+1A0h], rbx ; +0xae, 0x140040a0e mov [r14+1A8h], rbx ; +0xb5, 0x140040a15 mov [r14+1B0h], ebx ; +0xbc, 0x140040a1c mov [r14+1B4h], bl ; +0xc3, 0x140040a23 mov [r14+1B8h], rbx ; +0xca, 0x140040a2a mov [r14+1C0h], rbx ; +0xd1, 0x140040a31 mov [r14+1C8h], bl ; +0xd8, 0x140040a38 mov [r14+1CCh], ebx ; +0xdf, 0x140040a3f mov [r14+1D0h], bl ; +0xe6, 0x140040a46 mov [r14+1D8h], rbx ; +0xed, 0x140040a4d mov [r14+1E0h], rbx ; +0xf4, 0x140040a54 mov [r14+1E8h], rbx ; +0xfb, 0x140040a5b lea rcx, [r14+1F0h] ; +0x102, 0x140040a62 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x109, 0x140040a69 mov [r14+1F8h], rbx ; +0x10f, 0x140040a6f lea rcx, [r14+200h] ; +0x116, 0x140040a76 lea rdx, unk_1409098C8 ; +0x11d, 0x140040a7d call cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x124, 0x140040a84 mov [r14+210h], rbx ; +0x12a, 0x140040a8a mov [r14+218h], rbx ; +0x131, 0x140040a91 mov [r14+220h], rbx ; +0x138, 0x140040a98 mov [r14+228h], bx ; +0x13f, 0x140040a9f mov [r14+22Ch], rbx ; +0x147, 0x140040aa7 mov [r14+234h], ebx ; +0x14e, 0x140040aae mov [r14+238h], bx ; +0x155, 0x140040ab5 lea rcx, [r14+23Ch] ; +0x15d, 0x140040abd call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x164, 0x140040ac4 mov [r14+24Ch], rbx ; +0x16a, 0x140040aca mov [r14+258h], rbx ; +0x171, 0x140040ad1 mov [r14+260h], bl ; +0x178, 0x140040ad8 lea rcx, [r14+264h] ; +0x17f, 0x140040adf call cs:??0CCRect@cocos2d@@QEAA@XZ; cocos2d::CCRect::CCRect(void) ; +0x186, 0x140040ae6 mov [r14+274h], bl ; +0x18c, 0x140040aec mov rcx, [rsp+48h+arg_20] ; +0x193, 0x140040af3 mov [rsp+48h+var_20], rcx ; +0x198, 0x140040af8 mov [rsp+48h+var_28], rsi ; +0x19d, 0x140040afd movzx r9d, bpl ; +0x1a2, 0x140040b02 mov rdx, rdi ; +0x1a6, 0x140040b06 mov rcx, r14 ; +0x1a9, 0x140040b09 call BoomScrollLayer__init ; +0x1ac, 0x140040b0c test al, al ; +0x1b1, 0x140040b11 jz short loc_140040B23 ; +0x1b3, 0x140040b13 mov rcx, r14 ; +0x1b5, 0x140040b15 call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x1b8, 0x140040b18 mov rax, r14 ; +0x1be, 0x140040b1e jmp short loc_140040B38 ; +0x1c1, 0x140040b21 mov rcx, [r14] ; +0x1c3, 0x140040b23 mov r8, [rcx+8] ; +0x1c6, 0x140040b26 mov edx, 1 ; +0x1ca, 0x140040b2a mov rcx, r14 ; +0x1cf, 0x140040b2f call r8 ; +0x1d2, 0x140040b32 mov rax, rbx ; +0x1d5, 0x140040b35 mov rbx, [rsp+48h+arg_0] ; +0x1d8, 0x140040b38 mov rbp, [rsp+48h+arg_8] ; +0x1dd, 0x140040b3d mov rsi, [rsp+48h+arg_10] ; +0x1e2, 0x140040b42 mov rdi, [rsp+48h+arg_18] ; +0x1e7, 0x140040b47 add rsp, 40h ; +0x1ec, 0x140040b4c pop r14 ; +0x1f0, 0x140040b50 retn ; +0x1f2, 0x140040b52