; ; cocos2d::CCNode::visit from 0x1800058a0 to 0x1800059b0 (272 bytes) ; ; 86 xrefs: ; > cocos2d::CCLayerGradient::visit @ 0x1800537a2 ; > cocos2d::CCClippingNode::visit @ 0x18005e618 ; > cocos2d::CCClippingNode::visit @ 0x18005e8b3 ; > cocos2d::CCClippingNode::visit @ 0x18005e926 ; > cocos2d::CCParallaxNode::visit @ 0x1800ae73a ; > @ 0x1800eb6f8 ; > @ 0x1800ebd68 ; > @ 0x1800ec0e8 ; > @ 0x1800eca40 ; > @ 0x1800ecf50 ; > @ 0x1800f1768 ; > @ 0x1800f1c58 ; > @ 0x1800f2140 ; > @ 0x1800f2cf0 ; > @ 0x1800f3328 ; > @ 0x1800f3808 ; > @ 0x1800f3d60 ; > @ 0x1800f48e0 ; > @ 0x1800f4dc0 ; > @ 0x1800f5158 ; > @ 0x1800f54e8 ; > @ 0x1800f5880 ; > @ 0x1800f5c10 ; > @ 0x1800f5fa0 ; > @ 0x1800f6350 ; > @ 0x1800f6700 ; > @ 0x1800f6ab0 ; > @ 0x1800f6e60 ; > @ 0x1800f7210 ; > @ 0x1800f75c0 ; > @ 0x1800f7970 ; > @ 0x1800f7d20 ; > @ 0x1800f80c0 ; > @ 0x1800f8458 ; > @ 0x1800f87f0 ; > @ 0x1800f8b88 ; > @ 0x1800f8f20 ; > @ 0x1800f92b8 ; > @ 0x1800f9650 ; > @ 0x1800f99e8 ; > @ 0x1800f9d78 ; > @ 0x1800fa118 ; > @ 0x1800fa4c0 ; > @ 0x1800fa868 ; > @ 0x1800fac10 ; > @ 0x1800fafb8 ; > @ 0x1800fb360 ; > @ 0x1800fb720 ; > @ 0x1800fbab8 ; > @ 0x1800fbe58 ; > @ 0x1800fc1f8 ; > @ 0x1800fc598 ; > @ 0x1800fc938 ; > @ 0x1800fccd8 ; > @ 0x1800fd078 ; > @ 0x1800fd418 ; > @ 0x1800fd9b0 ; > @ 0x1800fdde8 ; > @ 0x1800fe240 ; > @ 0x1800fe698 ; > @ 0x1800feaf0 ; > @ 0x1800fef60 ; > @ 0x1800ff3d0 ; > @ 0x1800ffc00 ; > @ 0x180100030 ; > @ 0x180100f18 ; > @ 0x180101598 ; > @ 0x180101c18 ; > @ 0x180102298 ; > @ 0x180102918 ; > @ 0x180102f98 ; > @ 0x180103618 ; > @ 0x180103c98 ; > @ 0x180104318 ; > @ 0x180104998 ; > @ 0x180105018 ; > @ 0x1801056e8 ; > @ 0x180106370 ; > @ 0x18010a130 ; > @ 0x18010bf58 ; > @ 0x18010c820 ; > @ 0x18010d148 ; > @ 0x180139df8 ; > @ 0x180139e08 ; > @ 0x18014cf68 ; > @ 0x1801b77e0 ; ; 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:21:18 +0000 ; push rsi ; +0x0, 0x1800058a0 sub rsp, 20h ; +0x2, 0x1800058a2 cmp byte ptr [rcx+11Eh], 0 ; +0x6, 0x1800058a6 mov rsi, rcx ; +0xd, 0x1800058ad jz loc_1800059AA ; +0x10, 0x1800058b0 mov [rsp+28h+arg_0], rbx ; +0x16, 0x1800058b6 call kmGLPushMatrix ; +0x1b, 0x1800058bb mov rcx, [rsi+0C8h]; this ; +0x20, 0x1800058c0 test rcx, rcx ; +0x27, 0x1800058c7 jz short loc_1800058D7 ; +0x2a, 0x1800058ca cmp byte ptr [rcx+38h], 0 ; +0x2c, 0x1800058cc jz short loc_1800058D7 ; +0x30, 0x1800058d0 call ?beforeDraw@CCGridBase@cocos2d@@QEAAXXZ; cocos2d::CCGridBase::beforeDraw(void) ; +0x32, 0x1800058d2 mov rcx, rsi; this ; +0x37, 0x1800058d7 mov [rsp+28h+arg_8], rdi ; +0x3a, 0x1800058da call ?transform@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::transform(void) ; +0x3f, 0x1800058df mov rax, [rsi+0D0h] ; +0x44, 0x1800058e4 xor ebx, ebx ; +0x4b, 0x1800058eb test rax, rax ; +0x4d, 0x1800058ed jz short loc_180005970 ; +0x50, 0x1800058f0 mov rax, [rax+38h] ; +0x52, 0x1800058f2 cmp [rax], ebx ; +0x56, 0x1800058f6 jbe short loc_180005970 ; +0x58, 0x1800058f8 mov rax, [rsi] ; +0x5a, 0x1800058fa mov rcx, rsi ; +0x5d, 0x1800058fd call qword ptr [rax+250h] ; +0x60, 0x180005900 mov rax, [rsi+0D0h] ; +0x66, 0x180005906 mov rdi, [rax+38h] ; +0x6d, 0x18000590d cmp [rdi], ebx ; +0x71, 0x180005911 jbe short loc_180005942 ; +0x73, 0x180005913 nop word ptr [rax+rax+00000000h] ; +0x75, 0x180005915 mov rax, [rdi+10h] ; +0x80, 0x180005920 mov rcx, [rax+rbx*8] ; +0x84, 0x180005924 test rcx, rcx ; +0x88, 0x180005928 jz short loc_180005942 ; +0x8b, 0x18000592b cmp dword ptr [rcx+2Ch], 0 ; +0x8d, 0x18000592d jge short loc_180005942 ; +0x91, 0x180005931 mov rax, [rcx] ; +0x93, 0x180005933 call qword ptr [rax+2E8h] ; +0x96, 0x180005936 inc ebx ; +0x9c, 0x18000593c cmp ebx, [rdi] ; +0x9e, 0x18000593e jb short loc_180005920 ; +0xa0, 0x180005940 mov rax, [rsi] ; +0xa2, 0x180005942 mov rcx, rsi ; +0xa5, 0x180005945 call qword ptr [rax+2E0h] ; +0xa8, 0x180005948 cmp ebx, [rdi] ; +0xae, 0x18000594e jnb short loc_18000597C ; +0xb0, 0x180005950 mov rax, [rdi+10h] ; +0xb2, 0x180005952 mov rcx, [rax+rbx*8] ; +0xb6, 0x180005956 test rcx, rcx ; +0xba, 0x18000595a jz short loc_180005968 ; +0xbd, 0x18000595d mov rax, [rcx] ; +0xbf, 0x18000595f call qword ptr [rax+2E8h] ; +0xc2, 0x180005962 inc ebx ; +0xc8, 0x180005968 cmp ebx, [rdi] ; +0xca, 0x18000596a jb short loc_180005952 ; +0xcc, 0x18000596c jmp short loc_18000597C ; +0xce, 0x18000596e mov rax, [rsi] ; +0xd0, 0x180005970 mov rcx, rsi ; +0xd3, 0x180005973 call qword ptr [rax+2E0h] ; +0xd6, 0x180005976 mov rcx, [rsi+0C8h]; this ; +0xdc, 0x18000597c mov rdi, [rsp+28h+arg_8] ; +0xe3, 0x180005983 mov rbx, [rsp+28h+arg_0] ; +0xe8, 0x180005988 test rcx, rcx ; +0xed, 0x18000598d jz short loc_1800059A0 ; +0xf0, 0x180005990 cmp byte ptr [rcx+38h], 0 ; +0xf2, 0x180005992 jz short loc_1800059A0 ; +0xf6, 0x180005996 mov rdx, rsi; struct cocos2d::CCNode * ; +0xf8, 0x180005998 call ?afterDraw@CCGridBase@cocos2d@@QEAAXPEAVCCNode@2@@Z; cocos2d::CCGridBase::afterDraw(cocos2d::CCNode *) ; +0xfb, 0x18000599b add rsp, 20h ; +0x100, 0x1800059a0 pop rsi ; +0x104, 0x1800059a4 jmp kmGLPopMatrix ; +0x105, 0x1800059a5 add rsp, 20h ; +0x10a, 0x1800059aa pop rsi ; +0x10e, 0x1800059ae retn ; +0x10f, 0x1800059af