; ; CreatorLayer::dCreatorLayer from 0x140135400 to 0x14013550d (269 bytes) ; ; 3 xrefs: ; > sub_1401399BC @ 0x1401399c3 ; > @ 0x140737968 ; > @ 0x1409170f0 ; ; 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:27:04 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x140135400 mov [rsp+arg_8], rsi ; +0x5, 0x140135405 push rdi ; +0xa, 0x14013540a sub rsp, 20h ; +0xb, 0x14013540b mov esi, edx ; +0xf, 0x14013540f mov rbx, rcx ; +0x11, 0x140135411 lea rax, ??_7CreatorLayer@@6B@; const CreatorLayer::`vftable' ; +0x14, 0x140135414 mov [rcx], rax ; +0x1b, 0x14013541b lea rax, ??_7CreatorLayer@@6B@_0; const CreatorLayer::`vftable' ; +0x1e, 0x14013541e mov [rcx+140h], rax ; +0x25, 0x140135425 lea rax, ??_7CreatorLayer@@6B@_1; const CreatorLayer::`vftable' ; +0x2c, 0x14013542c mov [rcx+148h], rax ; +0x33, 0x140135433 lea rax, ??_7CreatorLayer@@6B@_2; const CreatorLayer::`vftable' ; +0x3a, 0x14013543a mov [rcx+150h], rax ; +0x41, 0x140135441 lea rax, ??_7CreatorLayer@@6B@_3; const CreatorLayer::`vftable' ; +0x48, 0x140135448 mov [rcx+158h], rax ; +0x4f, 0x14013544f lea rax, ??_7CreatorLayer@@6B@_4; const CreatorLayer::`vftable' ; +0x56, 0x140135456 mov [rcx+160h], rax ; +0x5d, 0x14013545d lea rax, ??_7CreatorLayer@@6B@_5; const CreatorLayer::`vftable' ; +0x64, 0x140135464 mov [rcx+198h], rax ; +0x6b, 0x14013546b lea rax, ??_7CreatorLayer@@6B@_6; const CreatorLayer::`vftable' ; +0x72, 0x140135472 mov [rcx+1A0h], rax ; +0x79, 0x140135479 lea rdi, [rcx+1A8h] ; +0x80, 0x140135480 lea rax, ??_7CreatorLayer@@6B@_7; const CreatorLayer::`vftable' ; +0x87, 0x140135487 mov [rdi], rax ; +0x8e, 0x14013548e mov rax, cs:qword_14090BFB0 ; +0x91, 0x140135491 test rax, rax ; +0x98, 0x140135498 jnz short loc_1401354C9 ; +0x9b, 0x14013549b mov ecx, 690h; Size ; +0x9d, 0x14013549d call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xa2, 0x1401354a2 mov rcx, rax ; +0xa7, 0x1401354a7 call GameLevelManager__GameLevelManager ; +0xaa, 0x1401354aa mov cs:qword_14090BFB0, rax ; +0xaf, 0x1401354af mov rcx, [rax] ; +0xb6, 0x1401354b6 mov rdx, [rcx+48h] ; +0xb9, 0x1401354b9 mov rcx, rax ; +0xbd, 0x1401354bd call rdx ; +0xc0, 0x1401354c0 mov rax, cs:qword_14090BFB0 ; +0xc2, 0x1401354c2 cmp [rax+620h], rdi ; +0xc9, 0x1401354c9 jnz short loc_1401354DD ; +0xd0, 0x1401354d0 mov qword ptr [rax+620h], 0 ; +0xd2, 0x1401354d2 mov rcx, rbx ; +0xdd, 0x1401354dd call cs:__imp_??1CCLayer@cocos2d@@UEAA@XZ; cocos2d::CCLayer::~CCLayer(void) ; +0xe0, 0x1401354e0 nop ; +0xe6, 0x1401354e6 test sil, 1 ; +0xe7, 0x1401354e7 jz short loc_1401354FA ; +0xeb, 0x1401354eb mov edx, 1E8h ; +0xed, 0x1401354ed mov rcx, rbx; Block ; +0xf2, 0x1401354f2 call j_j_free ; +0xf5, 0x1401354f5 mov rax, rbx ; +0xfa, 0x1401354fa mov rbx, [rsp+28h+arg_0] ; +0xfd, 0x1401354fd mov rsi, [rsp+28h+arg_8] ; +0x102, 0x140135502 add rsp, 20h ; +0x107, 0x140135507 pop rdi ; +0x10b, 0x14013550b retn ; +0x10c, 0x14013550c