; ; cocos2d::CCNode::visit from 0x1800057a0 to 0x1800058b0 (272 bytes) ; ; 86 xrefs: ; > cocos2d::CCLayerGradient::visit @ 0x180051a22 ; > cocos2d::CCClippingNode::visit @ 0x18005c5d8 ; > cocos2d::CCClippingNode::visit @ 0x18005c86f ; > cocos2d::CCClippingNode::visit @ 0x18005c8e2 ; > cocos2d::CCParallaxNode::visit @ 0x1800aaf3a ; > @ 0x1800e56b8 ; > @ 0x1800e5d18 ; > @ 0x1800e6088 ; > @ 0x1800e69e8 ; > @ 0x1800e6ef0 ; > @ 0x1800eb6b8 ; > @ 0x1800ebb58 ; > @ 0x1800ec030 ; > @ 0x1800ecbb0 ; > @ 0x1800ed1c8 ; > @ 0x1800ed688 ; > @ 0x1800edbc0 ; > @ 0x1800ee700 ; > @ 0x1800eebc0 ; > @ 0x1800eef48 ; > @ 0x1800ef2c8 ; > @ 0x1800ef650 ; > @ 0x1800ef9d0 ; > @ 0x1800efd50 ; > @ 0x1800f00f0 ; > @ 0x1800f0490 ; > @ 0x1800f0830 ; > @ 0x1800f0bd0 ; > @ 0x1800f0f70 ; > @ 0x1800f1310 ; > @ 0x1800f16b0 ; > @ 0x1800f1a50 ; > @ 0x1800f1de0 ; > @ 0x1800f2168 ; > @ 0x1800f24f0 ; > @ 0x1800f2878 ; > @ 0x1800f2c00 ; > @ 0x1800f2f88 ; > @ 0x1800f3310 ; > @ 0x1800f3698 ; > @ 0x1800f3a18 ; > @ 0x1800f3da8 ; > @ 0x1800f4140 ; > @ 0x1800f44d8 ; > @ 0x1800f4870 ; > @ 0x1800f4c08 ; > @ 0x1800f4fa0 ; > @ 0x1800f5350 ; > @ 0x1800f56d8 ; > @ 0x1800f5a68 ; > @ 0x1800f5df8 ; > @ 0x1800f6188 ; > @ 0x1800f6518 ; > @ 0x1800f68a8 ; > @ 0x1800f6c38 ; > @ 0x1800f6fd0 ; > @ 0x1800f7538 ; > @ 0x1800f7960 ; > @ 0x1800f7da8 ; > @ 0x1800f81f0 ; > @ 0x1800f8638 ; > @ 0x1800f8a98 ; > @ 0x1800f8ef8 ; > @ 0x1800f9710 ; > @ 0x1800f9b28 ; > @ 0x1800fa9d8 ; > @ 0x1800fb048 ; > @ 0x1800fb6b8 ; > @ 0x1800fbd28 ; > @ 0x1800fc398 ; > @ 0x1800fca08 ; > @ 0x1800fd078 ; > @ 0x1800fd6e8 ; > @ 0x1800fdd58 ; > @ 0x1800fe3c8 ; > @ 0x1800fea38 ; > @ 0x1800ff280 ; > @ 0x1800ffd20 ; > @ 0x180103a68 ; > @ 0x180105868 ; > @ 0x180106128 ; > @ 0x180106a60 ; > @ 0x180130f8c ; > @ 0x180130f9c ; > @ 0x1801438a8 ; > @ 0x1801ad7bc ; ; 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 ; push rsi ; +0x0, 0x1800057a0 sub rsp, 20h ; +0x2, 0x1800057a2 cmp byte ptr [rcx+11Eh], 0 ; +0x6, 0x1800057a6 mov rsi, rcx ; +0xd, 0x1800057ad jz loc_1800058AA ; +0x10, 0x1800057b0 mov [rsp+28h+arg_0], rbx ; +0x16, 0x1800057b6 call kmGLPushMatrix ; +0x1b, 0x1800057bb mov rcx, [rsi+0C8h]; this ; +0x20, 0x1800057c0 test rcx, rcx ; +0x27, 0x1800057c7 jz short loc_1800057D7 ; +0x2a, 0x1800057ca cmp byte ptr [rcx+38h], 0 ; +0x2c, 0x1800057cc jz short loc_1800057D7 ; +0x30, 0x1800057d0 call ?beforeDraw@CCGridBase@cocos2d@@QEAAXXZ; cocos2d::CCGridBase::beforeDraw(void) ; +0x32, 0x1800057d2 mov rcx, rsi; this ; +0x37, 0x1800057d7 mov [rsp+28h+arg_8], rdi ; +0x3a, 0x1800057da call ?transform@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::transform(void) ; +0x3f, 0x1800057df mov rax, [rsi+0D0h] ; +0x44, 0x1800057e4 xor ebx, ebx ; +0x4b, 0x1800057eb test rax, rax ; +0x4d, 0x1800057ed jz short loc_180005870 ; +0x50, 0x1800057f0 mov rax, [rax+38h] ; +0x52, 0x1800057f2 cmp [rax], ebx ; +0x56, 0x1800057f6 jbe short loc_180005870 ; +0x58, 0x1800057f8 mov rax, [rsi] ; +0x5a, 0x1800057fa mov rcx, rsi ; +0x5d, 0x1800057fd call qword ptr [rax+240h] ; +0x60, 0x180005800 mov rax, [rsi+0D0h] ; +0x66, 0x180005806 mov rdi, [rax+38h] ; +0x6d, 0x18000580d cmp [rdi], ebx ; +0x71, 0x180005811 jbe short loc_180005842 ; +0x73, 0x180005813 nop word ptr [rax+rax+00000000h] ; +0x75, 0x180005815 mov rax, [rdi+10h] ; +0x80, 0x180005820 mov rcx, [rax+rbx*8] ; +0x84, 0x180005824 test rcx, rcx ; +0x88, 0x180005828 jz short loc_180005842 ; +0x8b, 0x18000582b cmp dword ptr [rcx+2Ch], 0 ; +0x8d, 0x18000582d jge short loc_180005842 ; +0x91, 0x180005831 mov rax, [rcx] ; +0x93, 0x180005833 call qword ptr [rax+2D8h] ; +0x96, 0x180005836 inc ebx ; +0x9c, 0x18000583c cmp ebx, [rdi] ; +0x9e, 0x18000583e jb short loc_180005820 ; +0xa0, 0x180005840 mov rax, [rsi] ; +0xa2, 0x180005842 mov rcx, rsi ; +0xa5, 0x180005845 call qword ptr [rax+2D0h] ; +0xa8, 0x180005848 cmp ebx, [rdi] ; +0xae, 0x18000584e jnb short loc_18000587C ; +0xb0, 0x180005850 mov rax, [rdi+10h] ; +0xb2, 0x180005852 mov rcx, [rax+rbx*8] ; +0xb6, 0x180005856 test rcx, rcx ; +0xba, 0x18000585a jz short loc_180005868 ; +0xbd, 0x18000585d mov rax, [rcx] ; +0xbf, 0x18000585f call qword ptr [rax+2D8h] ; +0xc2, 0x180005862 inc ebx ; +0xc8, 0x180005868 cmp ebx, [rdi] ; +0xca, 0x18000586a jb short loc_180005852 ; +0xcc, 0x18000586c jmp short loc_18000587C ; +0xce, 0x18000586e mov rax, [rsi] ; +0xd0, 0x180005870 mov rcx, rsi ; +0xd3, 0x180005873 call qword ptr [rax+2D0h] ; +0xd6, 0x180005876 mov rcx, [rsi+0C8h]; this ; +0xdc, 0x18000587c mov rdi, [rsp+28h+arg_8] ; +0xe3, 0x180005883 mov rbx, [rsp+28h+arg_0] ; +0xe8, 0x180005888 test rcx, rcx ; +0xed, 0x18000588d jz short loc_1800058A0 ; +0xf0, 0x180005890 cmp byte ptr [rcx+38h], 0 ; +0xf2, 0x180005892 jz short loc_1800058A0 ; +0xf6, 0x180005896 mov rdx, rsi; struct cocos2d::CCNode * ; +0xf8, 0x180005898 call ?afterDraw@CCGridBase@cocos2d@@QEAAXPEAVCCNode@2@@Z; cocos2d::CCGridBase::afterDraw(cocos2d::CCNode *) ; +0xfb, 0x18000589b add rsp, 20h ; +0x100, 0x1800058a0 pop rsi ; +0x104, 0x1800058a4 jmp kmGLPopMatrix ; +0x105, 0x1800058a5 add rsp, 20h ; +0x10a, 0x1800058aa pop rsi ; +0x10e, 0x1800058ae retn ; +0x10f, 0x1800058af