; ; GJRotationControl::init from 0x140129590 to 0x1401296a4 (276 bytes) ; ; 4 xrefs: ; > EditorUI::init @ 0x1400df654 ; > EditorUI::init @ 0x1400df645 ; > @ 0x140553a80 ; > @ 0x1406c9a2c ; ; 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 rdi ; +0x0, 0x140129590 sub rsp, 30h ; +0x2, 0x140129592 mov rdi, rcx ; +0x6, 0x140129596 call cs:__imp_?init@CCLayer@cocos2d@@UEAA_NXZ; cocos2d::CCLayer::init(void) ; +0x9, 0x140129599 test al, al ; +0xf, 0x14012959f jnz short loc_1401295A9 ; +0x11, 0x1401295a1 add rsp, 30h ; +0x13, 0x1401295a3 pop rdi ; +0x17, 0x1401295a7 retn ; +0x18, 0x1401295a8 mov rax, [rdi] ; +0x19, 0x1401295a9 mov dl, 1 ; +0x1c, 0x1401295ac mov [rsp+38h+arg_0], rbx ; +0x1e, 0x1401295ae mov rcx, rdi ; +0x23, 0x1401295b3 movaps [rsp+38h+var_18], xmm7 ; +0x26, 0x1401295b6 call qword ptr [rax+388h] ; +0x2b, 0x1401295bb movss xmm1, cs:dword_140623210 ; +0x31, 0x1401295c1 lea rcx, [rsp+38h+arg_8] ; +0x39, 0x1401295c9 xorps xmm2, xmm2 ; +0x3e, 0x1401295ce call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x41, 0x1401295d1 mov rdx, rax ; +0x47, 0x1401295d7 lea rcx, [rdi+1A0h] ; +0x4a, 0x1401295da call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x51, 0x1401295e1 mov rax, [rdi] ; +0x57, 0x1401295e7 lea rdx, dword_1406C1AA8 ; +0x5a, 0x1401295ea mov rcx, rdi ; +0x61, 0x1401295f1 call qword ptr [rax+110h] ; +0x64, 0x1401295f4 lea rcx, aGjRotationcont; "GJ_rotationControlBtn01_001.png" ; +0x6a, 0x1401295fa call cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x71, 0x140129601 mov r9, [rdi] ; +0x77, 0x140129607 mov r8d, 1 ; +0x7a, 0x14012960a mov rdx, rax ; +0x80, 0x140129610 mov [rdi+1A8h], rax ; +0x83, 0x140129613 mov rcx, rdi ; +0x8a, 0x14012961a call qword ptr [r9+1B8h] ; +0x8d, 0x14012961d movss xmm0, cs:flt_1406236A8; X ; +0x94, 0x140129624 xor eax, eax ; +0x9c, 0x14012962c mov [rdi+1B0h], rax ; +0x9e, 0x14012962e call sinf ; +0xa5, 0x140129635 movaps xmm7, xmm0 ; +0xaa, 0x14012963a movss xmm0, cs:flt_1406236A8; X ; +0xad, 0x14012963d mulss xmm7, cs:dword_140623210 ; +0xb5, 0x140129645 call cosf ; +0xbd, 0x14012964d mulss xmm0, cs:dword_140623210 ; +0xc2, 0x140129652 lea rcx, [rsp+38h+arg_8] ; +0xca, 0x14012965a movaps xmm2, xmm7 ; +0xcf, 0x14012965f movaps xmm1, xmm0 ; +0xd2, 0x140129662 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xd5, 0x140129665 mov rdx, rax ; +0xdb, 0x14012966b lea rcx, [rdi+1A0h] ; +0xde, 0x14012966e call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xe5, 0x140129675 mov rcx, [rdi+1A8h] ; +0xeb, 0x14012967b lea rdx, [rdi+1A0h] ; +0xf2, 0x140129682 mov rax, [rcx] ; +0xf9, 0x140129689 call qword ptr [rax+0B8h] ; +0xfc, 0x14012968c movaps xmm7, [rsp+38h+var_18] ; +0x102, 0x140129692 mov al, 1 ; +0x107, 0x140129697 mov rbx, [rsp+38h+arg_0] ; +0x109, 0x140129699 add rsp, 30h ; +0x10e, 0x14012969e pop rdi ; +0x112, 0x1401296a2 retn ; +0x113, 0x1401296a3