; ; CCSpritePlus::setPosition from 0x14004bee0 to 0x14004bf65 (133 bytes) ; ; 6 xrefs: ; > @ 0x140709f00 ; > @ 0x14070a358 ; > @ 0x140738600 ; > @ 0x140885ff8 ; > @ 0x140886008 ; > @ 0x14090fefc ; ; 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:25:33 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x14004bee0 push rsi ; +0x5, 0x14004bee5 sub rsp, 20h ; +0x6, 0x14004bee6 mov rsi, rdx ; +0xa, 0x14004beea mov rbx, rcx ; +0xd, 0x14004beed call cs:__imp_?setPosition@CCSprite@cocos2d@@UEAAXAEBVCCPoint@2@@Z; cocos2d::CCSprite::setPosition(cocos2d::CCPoint const &) ; +0x10, 0x14004bef0 cmp byte ptr [rbx+268h], 0 ; +0x16, 0x14004bef6 jz short loc_14004BF5A ; +0x1d, 0x14004befd mov rcx, [rbx+258h] ; +0x1f, 0x14004beff mov [rsp+28h+arg_0], rdi ; +0x26, 0x14004bf06 xor edi, edi ; +0x2b, 0x14004bf0b call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x2d, 0x14004bf0d test eax, eax ; +0x33, 0x14004bf13 jz short loc_14004BF55 ; +0x35, 0x14004bf15 nop word ptr [rax+rax+00000000h] ; +0x37, 0x14004bf17 mov rcx, [rbx+258h] ; +0x40, 0x14004bf20 mov edx, edi ; +0x47, 0x14004bf27 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x49, 0x14004bf29 mov rdx, rsi ; +0x4f, 0x14004bf2f mov rcx, [rax] ; +0x52, 0x14004bf32 mov r8, [rcx+0B8h] ; +0x55, 0x14004bf35 mov rcx, rax ; +0x5c, 0x14004bf3c call r8 ; +0x5f, 0x14004bf3f mov rcx, [rbx+258h] ; +0x62, 0x14004bf42 inc edi ; +0x69, 0x14004bf49 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x6b, 0x14004bf4b cmp edi, eax ; +0x71, 0x14004bf51 jb short loc_14004BF20 ; +0x73, 0x14004bf53 mov rdi, [rsp+28h+arg_0] ; +0x75, 0x14004bf55 mov rbx, [rsp+28h+arg_8] ; +0x7a, 0x14004bf5a add rsp, 20h ; +0x7f, 0x14004bf5f pop rsi ; +0x83, 0x14004bf63 retn ; +0x84, 0x14004bf64