; ; GJGarageLayer::scene from 0x140272e90 to 0x14027304b (443 bytes) ; ; 6 xrefs: ; > GJShopLayer::onBack @ 0x1402acdd6 ; > GJShopLayer::dialogClosed @ 0x1402ae7c5 ; > LevelInfoLayer::onGarage @ 0x1402f9def ; > MenuLayer::onGarage @ 0x140335e16 ; > @ 0x1406d0ed8 ; > @ 0x1406d0ee4 ; ; 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_10], rbx ; +0x0, 0x140272e90 push rbp ; +0x5, 0x140272e95 push rsi ; +0x6, 0x140272e96 push rdi ; +0x7, 0x140272e97 sub rsp, 20h ; +0x8, 0x140272e98 call cs:?create@CCScene@cocos2d@@SAPEAV12@XZ; cocos2d::CCScene::create(void) ; +0xc, 0x140272e9c mov rsi, rax ; +0x12, 0x140272ea2 call cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x15, 0x140272ea5 mov [rax+0E0h], rsi ; +0x1b, 0x140272eab mov ecx, 260h; Size ; +0x22, 0x140272eb2 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x27, 0x140272eb7 mov rdi, rax ; +0x2c, 0x140272ebc mov [rsp+38h+arg_0], rax ; +0x2f, 0x140272ebf mov rcx, rax ; +0x34, 0x140272ec4 call cs:??0CCLayer@cocos2d@@QEAA@XZ; cocos2d::CCLayer::CCLayer(void) ; +0x37, 0x140272ec7 nop ; +0x3d, 0x140272ecd lea rax, ??_7GJGarageLayer@@6B@; const GJGarageLayer::`vftable' ; +0x3e, 0x140272ece mov [rdi], rax ; +0x45, 0x140272ed5 lea rax, ??_7GJGarageLayer@@6B@_0; const GJGarageLayer::`vftable' ; +0x48, 0x140272ed8 mov [rdi+140h], rax ; +0x4f, 0x140272edf lea rax, ??_7GJGarageLayer@@6B@_1; const GJGarageLayer::`vftable' ; +0x56, 0x140272ee6 mov [rdi+148h], rax ; +0x5d, 0x140272eed lea rax, ??_7GJGarageLayer@@6B@_2; const GJGarageLayer::`vftable' ; +0x64, 0x140272ef4 mov [rdi+150h], rax ; +0x6b, 0x140272efb lea rax, ??_7GJGarageLayer@@6B@_3; const GJGarageLayer::`vftable' ; +0x72, 0x140272f02 mov [rdi+158h], rax ; +0x79, 0x140272f09 lea rax, ??_7GJGarageLayer@@6B@_4; const GJGarageLayer::`vftable' ; +0x80, 0x140272f10 mov [rdi+160h], rax ; +0x87, 0x140272f17 lea rax, ??_7GJGarageLayer@@6B@_5; const GJGarageLayer::`vftable' ; +0x8e, 0x140272f1e mov [rdi+198h], rax ; +0x95, 0x140272f25 lea rax, ??_7GJGarageLayer@@6B@_6; const GJGarageLayer::`vftable' ; +0x9c, 0x140272f2c mov [rdi+1A0h], rax ; +0xa3, 0x140272f33 lea rax, ??_7GJGarageLayer@@6B@_7; const GJGarageLayer::`vftable' ; +0xaa, 0x140272f3a mov [rdi+1A8h], rax ; +0xb1, 0x140272f41 lea rax, ??_7GJGarageLayer@@6B@_8; const GJGarageLayer::`vftable' ; +0xb8, 0x140272f48 mov [rdi+1B0h], rax ; +0xbf, 0x140272f4f lea rax, ??_7GJGarageLayer@@6B@_9; const GJGarageLayer::`vftable' ; +0xc6, 0x140272f56 mov [rdi+1B8h], rax ; +0xcd, 0x140272f5d lea rax, ??_7GJGarageLayer@@6B@_10; const GJGarageLayer::`vftable' ; +0xd4, 0x140272f64 mov [rdi+1C0h], rax ; +0xdb, 0x140272f6b lea rax, ??_7GJGarageLayer@@6B@_11; const GJGarageLayer::`vftable' ; +0xe2, 0x140272f72 mov [rdi+1C8h], rax ; +0xe9, 0x140272f79 xor ebp, ebp ; +0xf0, 0x140272f80 mov [rdi+1D8h], rbp ; +0xf2, 0x140272f82 mov [rdi+1F0h], rbp ; +0xf9, 0x140272f89 mov [rdi+1F8h], rbp ; +0x100, 0x140272f90 mov [rdi+200h], bpl ; +0x107, 0x140272f97 lea rbx, [rdi+208h] ; +0x10e, 0x140272f9e mov [rsp+38h+arg_8], rbx ; +0x115, 0x140272fa5 mov [rbx], rbp ; +0x11a, 0x140272faa mov [rbx+8], rbp ; +0x11d, 0x140272fad lea ecx, [rbp+28h]; Size ; +0x121, 0x140272fb1 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x124, 0x140272fb4 mov [rax], rax ; +0x129, 0x140272fb9 mov [rax+8], rax ; +0x12c, 0x140272fbc mov [rax+10h], rax ; +0x130, 0x140272fc0 mov word ptr [rax+18h], 101h ; +0x134, 0x140272fc4 mov [rbx], rax ; +0x13a, 0x140272fca mov [rdi+220h], rbp ; +0x13d, 0x140272fcd mov [rdi+228h], rbp ; +0x144, 0x140272fd4 mov [rdi+230h], rbp ; +0x14b, 0x140272fdb mov [rdi+250h], rbp ; +0x152, 0x140272fe2 mov [rdi+258h], bpl ; +0x159, 0x140272fe9 mov rax, [rdi] ; +0x160, 0x140272ff0 mov rdx, [rax+48h] ; +0x163, 0x140272ff3 lea rax, GJGarageLayer__init ; +0x167, 0x140272ff7 mov rcx, rdi ; +0x16e, 0x140272ffe cmp rdx, rax ; +0x171, 0x140273001 jnz short loc_14027300D ; +0x174, 0x140273004 call GJGarageLayer__init ; +0x176, 0x140273006 jmp short loc_14027300F ; +0x17b, 0x14027300b call rdx ; +0x17d, 0x14027300d mov rcx, rdi ; +0x17f, 0x14027300f test al, al ; +0x182, 0x140273012 jz short loc_14027301E ; +0x184, 0x140273014 call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x186, 0x140273016 jmp short loc_14027302C ; +0x18c, 0x14027301c mov rax, [rdi] ; +0x18e, 0x14027301e mov edx, 1 ; +0x191, 0x140273021 call qword ptr [rax+8] ; +0x196, 0x140273026 mov rdi, rbp ; +0x199, 0x140273029 mov rax, [rsi] ; +0x19c, 0x14027302c mov rdx, rdi ; +0x19f, 0x14027302f mov rcx, rsi ; +0x1a2, 0x140273032 call qword ptr [rax+1C0h] ; +0x1a5, 0x140273035 mov rax, rsi ; +0x1ab, 0x14027303b mov rbx, [rsp+38h+arg_10] ; +0x1ae, 0x14027303e add rsp, 20h ; +0x1b3, 0x140273043 pop rdi ; +0x1b7, 0x140273047 pop rsi ; +0x1b8, 0x140273048 pop rbp ; +0x1b9, 0x140273049 retn ; +0x1ba, 0x14027304a