; ; GJRobotSprite::create from 0x1402a6690 to 0x1402a673e (174 bytes) ; ; 5 xrefs: ; > GJGarageLayer::init @ 0x140273a0a ; > SimplePlayer::updatePlayerFrame @ 0x14027a342 ; > PlayerObject::createRobot @ 0x14038803c ; > @ 0x1406d2108 ; > @ 0x1406d2114 ; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x1402a6690 push rdi ; +0x5, 0x1402a6695 sub rsp, 40h ; +0x6, 0x1402a6696 mov edi, ecx ; +0xa, 0x1402a669a mov ecx, 328h; Size ; +0xc, 0x1402a669c call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x11, 0x1402a66a1 mov [rsp+48h+arg_8], rax ; +0x16, 0x1402a66a6 mov rcx, rax ; +0x1b, 0x1402a66ab call sub_1402A64B0 ; +0x1e, 0x1402a66ae mov rbx, rax ; +0x23, 0x1402a66b3 test rax, rax ; +0x26, 0x1402a66b6 jz short loc_1402A6730 ; +0x29, 0x1402a66b9 mov dword ptr [rax+310h], 5 ; +0x2b, 0x1402a66bb xorps xmm0, xmm0 ; +0x35, 0x1402a66c5 movups [rsp+48h+var_28], xmm0 ; +0x38, 0x1402a66c8 mov [rsp+48h+var_18], 5 ; +0x3d, 0x1402a66cd mov [rsp+48h+var_10], 0Fh ; +0x46, 0x1402a66d6 mov eax, dword ptr cs:aRobot_0; "Robot" ; +0x4f, 0x1402a66df mov dword ptr [rsp+48h+var_28], eax ; +0x55, 0x1402a66e5 movzx ecx, byte ptr cs:aRobot_0+4; "t" ; +0x59, 0x1402a66e9 mov byte ptr [rsp+48h+var_28+4], cl ; +0x60, 0x1402a66f0 mov byte ptr [rsp+48h+var_28+5], 0 ; +0x64, 0x1402a66f4 lea r8, [rsp+48h+var_28] ; +0x69, 0x1402a66f9 mov edx, edi ; +0x6e, 0x1402a66fe mov rcx, rbx ; +0x70, 0x1402a6700 call GJRobotSprite__init ; +0x73, 0x1402a6703 mov rcx, rbx ; +0x78, 0x1402a6708 test al, al ; +0x7b, 0x1402a670b jz short loc_1402A6723 ; +0x7d, 0x1402a670d call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x7f, 0x1402a670f mov rax, rbx ; +0x85, 0x1402a6715 mov rbx, [rsp+48h+arg_0] ; +0x88, 0x1402a6718 add rsp, 40h ; +0x8d, 0x1402a671d pop rdi ; +0x91, 0x1402a6721 retn ; +0x92, 0x1402a6722 mov rax, [rbx] ; +0x93, 0x1402a6723 mov edx, 1 ; +0x96, 0x1402a6726 call qword ptr [rax+8] ; +0x9b, 0x1402a672b xor ebx, ebx ; +0x9e, 0x1402a672e mov rax, rbx ; +0xa0, 0x1402a6730 mov rbx, [rsp+48h+arg_0] ; +0xa3, 0x1402a6733 add rsp, 40h ; +0xa8, 0x1402a6738 pop rdi ; +0xac, 0x1402a673c retn ; +0xad, 0x1402a673d