; ; DrawGridLayer::dDrawGridLayer from 0x1403ec960 to 0x1403ecab6 (342 bytes) ; ; 3 xrefs: ; > sub_1404194F0 @ 0x1404194f7 ; > @ 0x14078a3f8 ; > @ 0x14092522c ; ; 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:31:45 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x1403ec960 mov [rsp+arg_8], rsi ; +0x5, 0x1403ec965 push rdi ; +0xa, 0x1403ec96a sub rsp, 20h ; +0xb, 0x1403ec96b mov esi, edx ; +0xf, 0x1403ec96f mov rdi, rcx ; +0x11, 0x1403ec971 lea rax, ??_7DrawGridLayer@@6B@; const DrawGridLayer::`vftable' ; +0x14, 0x1403ec974 mov [rcx], rax ; +0x1b, 0x1403ec97b lea rax, ??_7DrawGridLayer@@6B@_0; const DrawGridLayer::`vftable' ; +0x1e, 0x1403ec97e mov [rcx+140h], rax ; +0x25, 0x1403ec985 lea rax, ??_7DrawGridLayer@@6B@_1; const DrawGridLayer::`vftable' ; +0x2c, 0x1403ec98c mov [rcx+148h], rax ; +0x33, 0x1403ec993 lea rax, ??_7DrawGridLayer@@6B@_2; const DrawGridLayer::`vftable' ; +0x3a, 0x1403ec99a mov [rcx+150h], rax ; +0x41, 0x1403ec9a1 lea rax, ??_7DrawGridLayer@@6B@_3; const DrawGridLayer::`vftable' ; +0x48, 0x1403ec9a8 mov [rcx+158h], rax ; +0x4f, 0x1403ec9af lea rax, ??_7DrawGridLayer@@6B@_4; const DrawGridLayer::`vftable' ; +0x56, 0x1403ec9b6 mov [rcx+160h], rax ; +0x5d, 0x1403ec9bd mov rcx, [rcx+238h] ; +0x64, 0x1403ec9c4 test rcx, rcx ; +0x6b, 0x1403ec9cb jz short loc_1403EC9D6 ; +0x6e, 0x1403ec9ce call cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x70, 0x1403ec9d0 mov rcx, [rdi+240h] ; +0x76, 0x1403ec9d6 test rcx, rcx ; +0x7d, 0x1403ec9dd jz short loc_1403EC9E8 ; +0x80, 0x1403ec9e0 call cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x82, 0x1403ec9e2 mov rcx, [rdi+248h] ; +0x88, 0x1403ec9e8 test rcx, rcx ; +0x8f, 0x1403ec9ef jz short loc_1403EC9FA ; +0x92, 0x1403ec9f2 call cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x94, 0x1403ec9f4 mov rcx, [rdi+250h] ; +0x9a, 0x1403ec9fa test rcx, rcx ; +0xa1, 0x1403eca01 jz short loc_1403ECA0C ; +0xa4, 0x1403eca04 call cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xa6, 0x1403eca06 mov rcx, [rdi+198h]; Block ; +0xac, 0x1403eca0c xor ebx, ebx ; +0xb3, 0x1403eca13 test rcx, rcx ; +0xb5, 0x1403eca15 jz short loc_1403ECA26 ; +0xb8, 0x1403eca18 call j_j_free ; +0xba, 0x1403eca1a mov [rdi+198h], rbx ; +0xbf, 0x1403eca1f mov rcx, [rdi+1A0h]; Block ; +0xc6, 0x1403eca26 test rcx, rcx ; +0xcd, 0x1403eca2d jz short loc_1403ECA3E ; +0xd0, 0x1403eca30 call j_j_free ; +0xd2, 0x1403eca32 mov [rdi+1A0h], rbx ; +0xd7, 0x1403eca37 mov rcx, [rdi+1A8h]; Block ; +0xde, 0x1403eca3e test rcx, rcx ; +0xe5, 0x1403eca45 jz short loc_1403ECA56 ; +0xe8, 0x1403eca48 call j_j_free ; +0xea, 0x1403eca4a mov [rdi+1A8h], rbx ; +0xef, 0x1403eca4f lea rcx, [rdi+1B0h] ; +0xf6, 0x1403eca56 call sub_140066610 ; +0xfd, 0x1403eca5d lea rcx, [rdi+210h] ; +0x102, 0x1403eca62 call sub_14003D310 ; +0x109, 0x1403eca69 lea rcx, [rdi+1C8h]; void * ; +0x10e, 0x1403eca6e call sub_14003EA90 ; +0x115, 0x1403eca75 lea rcx, [rdi+1B8h] ; +0x11a, 0x1403eca7a call sub_1400665B0 ; +0x121, 0x1403eca81 mov rcx, rdi ; +0x126, 0x1403eca86 call cs:__imp_??1CCLayer@cocos2d@@UEAA@XZ; cocos2d::CCLayer::~CCLayer(void) ; +0x129, 0x1403eca89 nop ; +0x12f, 0x1403eca8f test sil, 1 ; +0x130, 0x1403eca90 jz short loc_1403ECAA3 ; +0x134, 0x1403eca94 mov edx, 280h ; +0x136, 0x1403eca96 mov rcx, rdi; Block ; +0x13b, 0x1403eca9b call j_j_free ; +0x13e, 0x1403eca9e mov rax, rdi ; +0x143, 0x1403ecaa3 mov rbx, [rsp+28h+arg_0] ; +0x146, 0x1403ecaa6 mov rsi, [rsp+28h+arg_8] ; +0x14b, 0x1403ecaab add rsp, 20h ; +0x150, 0x1403ecab0 pop rdi ; +0x154, 0x1403ecab4 retn ; +0x155, 0x1403ecab5