; ; cocos2d::CCDrawNode::drawRect from 0x1800142e0 to 0x18001440b (299 bytes) ; ; 3 xrefs: ; > cocos2d::CCDrawNode::drawRect @ 0x180014485 ; > @ 0x18014cf68 ; > @ 0x1801b84f4 ; ; 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:23 +0000 ; mov [rsp+arg_18], rbx ; +0x0, 0x1800142e0 push rbp ; +0x5, 0x1800142e5 push rsi ; +0x6, 0x1800142e6 push rdi ; +0x7, 0x1800142e7 sub rsp, 70h ; +0x8, 0x1800142e8 mov rax, cs:__security_cookie ; +0xc, 0x1800142ec xor rax, rsp ; +0x13, 0x1800142f3 mov [rsp+88h+var_20], rax ; +0x16, 0x1800142f6 mov rbp, rcx ; +0x1b, 0x1800142fb mov rsi, r9 ; +0x1e, 0x1800142fe lea rcx, [rsp+88h+var_40]; this ; +0x21, 0x180014301 mov rdi, r8 ; +0x26, 0x180014306 mov rbx, rdx ; +0x29, 0x180014309 call ??0CCSize@cocos2d@@QEAA@XZ; cocos2d::CCSize::CCSize(void) ; +0x2c, 0x18001430c lea rcx, [rsp+88h+var_38]; this ; +0x31, 0x180014311 call ??0CCSize@cocos2d@@QEAA@XZ; cocos2d::CCSize::CCSize(void) ; +0x36, 0x180014316 lea rcx, [rsp+88h+var_30]; this ; +0x3b, 0x18001431b call ??0CCSize@cocos2d@@QEAA@XZ; cocos2d::CCSize::CCSize(void) ; +0x40, 0x180014320 lea rcx, [rsp+88h+var_28]; this ; +0x45, 0x180014325 call ??0CCSize@cocos2d@@QEAA@XZ; cocos2d::CCSize::CCSize(void) ; +0x4a, 0x18001432a movss xmm2, dword ptr [rbx+4] ; +0x4f, 0x18001432f lea rcx, [rsp+88h+var_48] ; +0x54, 0x180014334 movss xmm1, dword ptr [rbx] ; +0x59, 0x180014339 call kmVec2Fill ; +0x5d, 0x18001433d mov rdx, rax ; +0x62, 0x180014342 lea rcx, [rsp+88h+var_40] ; +0x65, 0x180014345 call ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x6a, 0x18001434a movss xmm2, dword ptr [rbx+4] ; +0x6f, 0x18001434f lea rcx, [rsp+88h+var_48] ; +0x74, 0x180014354 movss xmm1, dword ptr [rdi] ; +0x79, 0x180014359 call kmVec2Fill ; +0x7d, 0x18001435d mov rdx, rax ; +0x82, 0x180014362 lea rcx, [rsp+88h+var_38] ; +0x85, 0x180014365 call ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x8a, 0x18001436a movss xmm2, dword ptr [rdi+4] ; +0x8f, 0x18001436f lea rcx, [rsp+88h+var_48] ; +0x94, 0x180014374 movss xmm1, dword ptr [rdi] ; +0x99, 0x180014379 call kmVec2Fill ; +0x9d, 0x18001437d mov rdx, rax ; +0xa2, 0x180014382 lea rcx, [rsp+88h+var_30] ; +0xa5, 0x180014385 call ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0xaa, 0x18001438a movss xmm2, dword ptr [rdi+4] ; +0xaf, 0x18001438f lea rcx, [rsp+88h+var_48] ; +0xb4, 0x180014394 movss xmm1, dword ptr [rbx] ; +0xb9, 0x180014399 call kmVec2Fill ; +0xbd, 0x18001439d mov rdx, rax ; +0xc2, 0x1800143a2 lea rcx, [rsp+88h+var_28] ; +0xc5, 0x1800143a5 call ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0xca, 0x1800143aa mov eax, [rsp+88h+arg_30] ; +0xcf, 0x1800143af lea rdx, [rsp+88h+var_40] ; +0xd6, 0x1800143b6 movss xmm0, [rsp+88h+arg_20] ; +0xdb, 0x1800143bb mov r9, rsi ; +0xe4, 0x1800143c4 mov [rsp+88h+var_58], eax ; +0xe7, 0x1800143c7 mov r8d, 4 ; +0xeb, 0x1800143cb mov rax, [rsp+88h+arg_28] ; +0xf1, 0x1800143d1 mov rcx, rbp ; +0xf9, 0x1800143d9 mov [rsp+88h+var_60], rax ; +0xfc, 0x1800143dc movss [rsp+88h+var_68], xmm0 ; +0x101, 0x1800143e1 call ?drawPolygon@CCDrawNode@cocos2d@@QEAA_NPEAVCCPoint@2@IAEBU_ccColor4F@2@M1W4BorderAlignment@2@@Z; cocos2d::CCDrawNode::drawPolygon(cocos2d::CCPoint *,uint,cocos2d::_ccColor4F const &,float,cocos2d::_ccColor4F const &,cocos2d::BorderAlignment) ; +0x107, 0x1800143e7 mov al, 1 ; +0x10c, 0x1800143ec mov rcx, [rsp+88h+var_20] ; +0x10e, 0x1800143ee xor rcx, rsp; StackCookie ; +0x113, 0x1800143f3 call __security_check_cookie ; +0x116, 0x1800143f6 mov rbx, [rsp+88h+arg_18] ; +0x11b, 0x1800143fb add rsp, 70h ; +0x123, 0x180014403 pop rdi ; +0x127, 0x180014407 pop rsi ; +0x128, 0x180014408 pop rbp ; +0x129, 0x180014409 retn ; +0x12a, 0x18001440a