; ; GJShopLayer::scene from 0x1402a95b0 to 0x1402a9722 (370 bytes) ; ; 4 xrefs: ; > GJGarageLayer::onShop @ 0x140278fdf ; > SecretRewardsLayer::onShop @ 0x1403d688d ; > SecretRewardsLayer::dialogClosed @ 0x1403d6a74 ; > @ 0x1406d21f8 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_0], rbx ; +0x0, 0x1402a95b0 mov [rsp+arg_10], rbp ; +0x5, 0x1402a95b5 mov [rsp+arg_18], rsi ; +0xa, 0x1402a95ba push rdi ; +0xf, 0x1402a95bf sub rsp, 20h ; +0x10, 0x1402a95c0 mov ebx, ecx ; +0x14, 0x1402a95c4 call cs:?create@CCScene@cocos2d@@SAPEAV12@XZ; cocos2d::CCScene::create(void) ; +0x16, 0x1402a95c6 mov rsi, rax ; +0x1c, 0x1402a95cc call cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x1f, 0x1402a95cf mov [rax+0E0h], rsi ; +0x25, 0x1402a95d5 mov ecx, 218h; Size ; +0x2c, 0x1402a95dc call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x31, 0x1402a95e1 mov rdi, rax ; +0x36, 0x1402a95e6 mov [rsp+28h+arg_8], rax ; +0x39, 0x1402a95e9 mov rcx, rax ; +0x3e, 0x1402a95ee call cs:??0CCLayer@cocos2d@@QEAA@XZ; cocos2d::CCLayer::CCLayer(void) ; +0x41, 0x1402a95f1 lea rax, ??_7GJShopLayer@@6B@; const GJShopLayer::`vftable' ; +0x47, 0x1402a95f7 mov [rdi], rax ; +0x4e, 0x1402a95fe lea rax, ??_7GJShopLayer@@6B@_0; const GJShopLayer::`vftable' ; +0x51, 0x1402a9601 mov [rdi+140h], rax ; +0x58, 0x1402a9608 lea rax, ??_7GJShopLayer@@6B@_1; const GJShopLayer::`vftable' ; +0x5f, 0x1402a960f mov [rdi+148h], rax ; +0x66, 0x1402a9616 lea rax, ??_7GJShopLayer@@6B@_2; const GJShopLayer::`vftable' ; +0x6d, 0x1402a961d mov [rdi+150h], rax ; +0x74, 0x1402a9624 lea rax, ??_7GJShopLayer@@6B@_3; const GJShopLayer::`vftable' ; +0x7b, 0x1402a962b mov [rdi+158h], rax ; +0x82, 0x1402a9632 lea rax, ??_7GJShopLayer@@6B@_4; const GJShopLayer::`vftable' ; +0x89, 0x1402a9639 mov [rdi+160h], rax ; +0x90, 0x1402a9640 lea rax, ??_7GJShopLayer@@6B@_5; const GJShopLayer::`vftable' ; +0x97, 0x1402a9647 mov [rdi+198h], rax ; +0x9e, 0x1402a964e lea rax, ??_7GJShopLayer@@6B@_6; const GJShopLayer::`vftable' ; +0xa5, 0x1402a9655 mov [rdi+1A0h], rax ; +0xac, 0x1402a965c lea rax, ??_7GJShopLayer@@6B@_7; const GJShopLayer::`vftable' ; +0xb3, 0x1402a9663 mov [rdi+1A8h], rax ; +0xba, 0x1402a966a mov byte ptr [rdi+1B0h], 0 ; +0xc1, 0x1402a9671 xor ebp, ebp ; +0xc8, 0x1402a9678 mov [rdi+1B8h], rbp ; +0xca, 0x1402a967a mov [rdi+1C0h], rbp ; +0xd1, 0x1402a9681 mov [rdi+1C8h], ebp ; +0xd8, 0x1402a9688 xorps xmm0, xmm0 ; +0xde, 0x1402a968e movups xmmword ptr [rdi+1D0h], xmm0 ; +0xe1, 0x1402a9691 mov [rdi+1E0h], rbp ; +0xe8, 0x1402a9698 mov qword ptr [rdi+1E8h], 0Fh ; +0xef, 0x1402a969f mov [rdi+1D0h], bpl ; +0xfa, 0x1402a96aa mov [rdi+1F0h], rbp ; +0x101, 0x1402a96b1 mov [rdi+1F8h], rbp ; +0x108, 0x1402a96b8 mov [rdi+200h], bp ; +0x10f, 0x1402a96bf mov [rdi+208h], rbp ; +0x116, 0x1402a96c6 mov [rdi+210h], rbp ; +0x11d, 0x1402a96cd mov edx, ebx ; +0x124, 0x1402a96d4 mov rcx, rdi ; +0x126, 0x1402a96d6 call GJShopLayer__init ; +0x129, 0x1402a96d9 mov rcx, rdi ; +0x12e, 0x1402a96de test al, al ; +0x131, 0x1402a96e1 jz short loc_1402A96ED ; +0x133, 0x1402a96e3 call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x135, 0x1402a96e5 jmp short loc_1402A96FB ; +0x13b, 0x1402a96eb mov rax, [rdi] ; +0x13d, 0x1402a96ed mov edx, 1 ; +0x140, 0x1402a96f0 call qword ptr [rax+8] ; +0x145, 0x1402a96f5 mov rdi, rbp ; +0x148, 0x1402a96f8 mov rax, [rsi] ; +0x14b, 0x1402a96fb mov rdx, rdi ; +0x14e, 0x1402a96fe mov rcx, rsi ; +0x151, 0x1402a9701 call qword ptr [rax+1C0h] ; +0x154, 0x1402a9704 mov rax, rsi ; +0x15a, 0x1402a970a mov rbx, [rsp+28h+arg_0] ; +0x15d, 0x1402a970d mov rbp, [rsp+28h+arg_10] ; +0x162, 0x1402a9712 mov rsi, [rsp+28h+arg_18] ; +0x167, 0x1402a9717 add rsp, 20h ; +0x16c, 0x1402a971c pop rdi ; +0x170, 0x1402a9720 retn ; +0x171, 0x1402a9721