; ; AccountHelpLayer::customSetup from 0x14007f610 to 0x14007fa1f (1039 bytes) ; ; 3 xrefs: ; > @ 0x14053b0f8 ; > @ 0x1406c6948 ; > @ 0x1406c6954 ; ; 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 rax, rsp ; +0x0, 0x14007f610 push rbp ; +0x3, 0x14007f613 push rbx ; +0x4, 0x14007f614 push rsi ; +0x5, 0x14007f615 push rdi ; +0x6, 0x14007f616 push r14 ; +0x7, 0x14007f617 lea rbp, [rax-5Fh] ; +0x9, 0x14007f619 sub rsp, 90h ; +0xd, 0x14007f61d movaps xmmword ptr [rax-38h], xmm6 ; +0x14, 0x14007f624 movaps xmmword ptr [rax-48h], xmm7 ; +0x18, 0x14007f628 movaps xmmword ptr [rax-58h], xmm8 ; +0x1c, 0x14007f62c mov rdi, rcx ; +0x21, 0x14007f631 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x24, 0x14007f634 mov rcx, rax ; +0x2a, 0x14007f63a lea rdx, [rbp+57h+arg_0] ; +0x2d, 0x14007f63d call cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x31, 0x14007f641 lea r14, aGoldfontFnt; "goldFont.fnt" ; +0x37, 0x14007f647 mov rdx, r14 ; +0x3e, 0x14007f64e lea rcx, byte_140518980 ; +0x41, 0x14007f651 call cs:?create@CCLabelBMFont@cocos2d@@SAPEAV12@PEBD0@Z; cocos2d::CCLabelBMFont::create(char const *,char const *) ; +0x48, 0x14007f658 mov [rdi+270h], rax ; +0x4e, 0x14007f65e mov rdx, [rax] ; +0x55, 0x14007f665 movss xmm1, cs:dword_140622BA4 ; +0x58, 0x14007f668 mov rcx, rax ; +0x60, 0x14007f670 call qword ptr [rdx+0A0h] ; +0x63, 0x14007f673 mov rcx, [rdi+240h] ; +0x69, 0x14007f679 mov rax, [rcx] ; +0x70, 0x14007f680 mov rdx, [rdi+270h] ; +0x73, 0x14007f683 call qword ptr [rax+1C0h] ; +0x7a, 0x14007f68a mov rax, [rdi+270h] ; +0x80, 0x14007f690 mov rbx, [rax] ; +0x87, 0x14007f697 movss xmm2, [rbp+57h+arg_4] ; +0x8a, 0x14007f69a movss xmm8, cs:dword_140622B08 ; +0x8f, 0x14007f69f mulss xmm2, xmm8 ; +0x98, 0x14007f6a8 addss xmm2, cs:dword_140623294 ; +0x9d, 0x14007f6ad movss xmm1, [rbp+57h+arg_0] ; +0xa5, 0x14007f6b5 mulss xmm1, xmm8 ; +0xaa, 0x14007f6ba lea rcx, [rbp+57h+arg_10] ; +0xaf, 0x14007f6bf call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xb3, 0x14007f6c3 mov rdx, rax ; +0xb9, 0x14007f6c9 mov rcx, [rdi+270h] ; +0xbc, 0x14007f6cc call qword ptr [rbx+0B8h] ; +0xc3, 0x14007f6d3 lea rax, [rbp+57h+var_70] ; +0xc9, 0x14007f6d9 mov [rbp+57h+arg_10], rax ; +0xcd, 0x14007f6dd xorps xmm0, xmm0 ; +0xd1, 0x14007f6e1 movups [rbp+57h+var_70], xmm0 ; +0xd4, 0x14007f6e4 mov [rbp+57h+var_60], 1 ; +0xd8, 0x14007f6e8 mov qword ptr [rbp+57h+var_58], 0Fh ; +0xe0, 0x14007f6f0 mov word ptr [rbp+57h+var_70], 20h ; ' ' ; +0xe8, 0x14007f6f8 movss xmm6, cs:flt_140622C24 ; +0xee, 0x14007f6fe movaps xmm2, xmm6 ; +0xf6, 0x14007f706 movaps xmm1, xmm8 ; +0xf9, 0x14007f709 lea rcx, [rbp+57h+arg_18] ; +0xfd, 0x14007f70d call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x101, 0x14007f711 nop ; +0x107, 0x14007f717 mov byte ptr [rsp+0B0h+var_80], 0 ; +0x108, 0x14007f718 movss xmm0, cs:dword_140623198 ; +0x10d, 0x14007f71d movss dword ptr [rsp+0B0h+var_88], xmm0 ; +0x115, 0x14007f725 mov [rsp+0B0h+var_90], rax ; +0x11b, 0x14007f72b movss xmm3, cs:dword_14062350C ; +0x120, 0x14007f730 movaps xmm2, xmm6 ; +0x128, 0x14007f738 lea rdx, qword_14052A4D8 ; +0x12b, 0x14007f73b lea rcx, [rbp+57h+var_70] ; +0x132, 0x14007f742 call TextArea__create ; +0x136, 0x14007f746 mov [rdi+278h], rax ; +0x13b, 0x14007f74b mov rdx, [rax] ; +0x142, 0x14007f752 movss xmm1, cs:dword_140622AD0 ; +0x145, 0x14007f755 mov rcx, rax ; +0x14d, 0x14007f75d call qword ptr [rdx+0A0h] ; +0x150, 0x14007f760 mov rcx, [rdi+240h] ; +0x156, 0x14007f766 mov rax, [rcx] ; +0x15d, 0x14007f76d mov rdx, [rdi+278h] ; +0x160, 0x14007f770 call qword ptr [rax+1C0h] ; +0x167, 0x14007f777 movss xmm2, cs:dword_140623890 ; +0x16d, 0x14007f77d xorps xmm7, xmm7 ; +0x175, 0x14007f785 xorps xmm1, xmm1 ; +0x178, 0x14007f788 lea rcx, [rbp+57h+arg_18] ; +0x17b, 0x14007f78b call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x17f, 0x14007f78f mov rbx, rax ; +0x185, 0x14007f795 mov rcx, [rdi+270h] ; +0x188, 0x14007f798 mov rdx, [rcx] ; +0x18f, 0x14007f79f call qword ptr [rdx+0C8h] ; +0x192, 0x14007f7a2 mov r8, rbx ; +0x198, 0x14007f7a8 lea rdx, [rbp+57h+arg_10] ; +0x19b, 0x14007f7ab mov rcx, rax ; +0x19f, 0x14007f7af call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x1a2, 0x14007f7b2 mov rcx, [rdi+278h] ; +0x1a8, 0x14007f7b8 mov rax, [rcx] ; +0x1af, 0x14007f7bf lea rdx, [rbp+57h+arg_10] ; +0x1b2, 0x14007f7c2 call qword ptr [rax+0B8h] ; +0x1b6, 0x14007f7c6 movss dword ptr [rsp+38h], xmm7 ; +0x1bc, 0x14007f7cc lea rsi, aGjButton01Png; "GJ_button_01.png" ; +0x1c2, 0x14007f7d2 mov qword ptr [rsp+0B0h+var_80], rsi ; +0x1c9, 0x14007f7d9 mov [rsp+0B0h+var_88], r14 ; +0x1ce, 0x14007f7de mov byte ptr [rsp+0B0h+var_90], 1 ; +0x1d3, 0x14007f7e3 movaps xmm3, xmm6 ; +0x1d8, 0x14007f7e8 xor r8d, r8d ; +0x1db, 0x14007f7eb mov edx, 0A0h ; +0x1de, 0x14007f7ee lea rcx, aRefreshLogin; "Refresh Login" ; +0x1e3, 0x14007f7f3 call ButtonSprite__create_1 ; +0x1ea, 0x14007f7fa lea r9, AccountHelpLayer__onReLogin ; +0x1ef, 0x14007f7ff mov r8, rdi ; +0x1f6, 0x14007f806 xor edx, edx ; +0x1f9, 0x14007f809 mov rcx, rax ; +0x1fb, 0x14007f80b call CCMenuItemSpriteExtra__create ; +0x1fe, 0x14007f80e mov [rdi+280h], rax ; +0x203, 0x14007f813 mov rcx, [rdi+230h] ; +0x20a, 0x14007f81a mov r8, [rcx] ; +0x211, 0x14007f821 mov rdx, rax ; +0x214, 0x14007f824 call qword ptr [r8+1C0h] ; +0x217, 0x14007f827 movss dword ptr [rsp+38h], xmm7 ; +0x21e, 0x14007f82e mov qword ptr [rsp+0B0h+var_80], rsi ; +0x224, 0x14007f834 mov [rsp+0B0h+var_88], r14 ; +0x229, 0x14007f839 mov byte ptr [rsp+0B0h+var_90], 1 ; +0x22e, 0x14007f83e movaps xmm3, xmm6 ; +0x233, 0x14007f843 xor r8d, r8d ; +0x236, 0x14007f846 mov edx, 0A0h ; +0x239, 0x14007f849 lea rcx, aManageAccount; "Manage Account" ; +0x23e, 0x14007f84e call ButtonSprite__create_1 ; +0x245, 0x14007f855 lea r9, AccountHelpLayer__onAccountManagement ; +0x24a, 0x14007f85a mov r8, rdi ; +0x251, 0x14007f861 xor edx, edx ; +0x254, 0x14007f864 mov rcx, rax ; +0x256, 0x14007f866 call CCMenuItemSpriteExtra__create ; +0x259, 0x14007f869 mov rbx, rax ; +0x25e, 0x14007f86e mov rcx, [rdi+230h] ; +0x261, 0x14007f871 mov r8, [rcx] ; +0x268, 0x14007f878 mov rdx, rax ; +0x26b, 0x14007f87b call qword ptr [r8+1C0h] ; +0x26e, 0x14007f87e movss dword ptr [rsp+38h], xmm7 ; +0x275, 0x14007f885 mov qword ptr [rsp+0B0h+var_80], rsi ; +0x27b, 0x14007f88b mov [rsp+0B0h+var_88], r14 ; +0x280, 0x14007f890 mov byte ptr [rsp+0B0h+var_90], 1 ; +0x285, 0x14007f895 movaps xmm3, xmm6 ; +0x28a, 0x14007f89a xor r8d, r8d ; +0x28d, 0x14007f89d mov edx, 0A0h ; +0x290, 0x14007f8a0 lea rcx, aUnlinkAccount; "Unlink Account" ; +0x295, 0x14007f8a5 call ButtonSprite__create_1 ; +0x29c, 0x14007f8ac lea r9, AccountHelpLayer__onUnlink ; +0x2a1, 0x14007f8b1 mov r8, rdi ; +0x2a8, 0x14007f8b8 xor edx, edx ; +0x2ab, 0x14007f8bb mov rcx, rax ; +0x2ad, 0x14007f8bd call CCMenuItemSpriteExtra__create ; +0x2b0, 0x14007f8c0 mov [rdi+288h], rax ; +0x2b5, 0x14007f8c5 mov rcx, [rdi+230h] ; +0x2bc, 0x14007f8cc mov r8, [rcx] ; +0x2c3, 0x14007f8d3 mov rdx, rax ; +0x2c6, 0x14007f8d6 call qword ptr [r8+1C0h] ; +0x2c9, 0x14007f8d9 movss xmm2, [rbp+57h+arg_4] ; +0x2d0, 0x14007f8e0 mulss xmm2, xmm8 ; +0x2d5, 0x14007f8e5 addss xmm2, cs:dword_140623164 ; +0x2da, 0x14007f8ea movss xmm1, [rbp+57h+arg_0] ; +0x2e2, 0x14007f8f2 mulss xmm1, xmm8 ; +0x2e7, 0x14007f8f7 lea rcx, [rbp+57h+arg_10] ; +0x2ec, 0x14007f8fc call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x2f0, 0x14007f900 mov r8, rax ; +0x2f6, 0x14007f906 lea rdx, [rbp+57h+arg_18] ; +0x2f9, 0x14007f909 mov rcx, [rdi+240h] ; +0x2fd, 0x14007f90d call cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0x304, 0x14007f914 mov r8, rax ; +0x30a, 0x14007f91a lea rdx, [rbp+57h+arg_8] ; +0x30d, 0x14007f91d mov rcx, [rdi+230h] ; +0x311, 0x14007f921 call cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x318, 0x14007f928 xorps xmm2, xmm2 ; +0x31e, 0x14007f92e xorps xmm1, xmm1 ; +0x321, 0x14007f931 lea rcx, [rbp+57h+arg_18] ; +0x324, 0x14007f934 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x328, 0x14007f938 mov r8, rax ; +0x32e, 0x14007f93e lea rdx, [rbp+57h+arg_10] ; +0x331, 0x14007f941 lea rcx, [rbp+57h+arg_8] ; +0x335, 0x14007f945 call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x339, 0x14007f949 mov rcx, [rdi+280h] ; +0x33f, 0x14007f94f mov rax, [rcx] ; +0x346, 0x14007f956 lea rdx, [rbp+57h+arg_10] ; +0x349, 0x14007f959 call qword ptr [rax+0B8h] ; +0x34d, 0x14007f95d movss xmm2, cs:dword_14062392C ; +0x353, 0x14007f963 xorps xmm1, xmm1 ; +0x35b, 0x14007f96b lea rcx, [rbp+57h+arg_18] ; +0x35e, 0x14007f96e call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x362, 0x14007f972 mov r8, rax ; +0x368, 0x14007f978 lea rdx, [rbp+57h+arg_10] ; +0x36b, 0x14007f97b lea rcx, [rbp+57h+arg_8] ; +0x36f, 0x14007f97f call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x373, 0x14007f983 mov rax, [rbx] ; +0x379, 0x14007f989 lea rdx, [rbp+57h+arg_10] ; +0x37c, 0x14007f98c mov rcx, rbx ; +0x380, 0x14007f990 call qword ptr [rax+0B8h] ; +0x383, 0x14007f993 movss xmm2, cs:dword_1406239C0 ; +0x389, 0x14007f999 xorps xmm1, xmm1 ; +0x391, 0x14007f9a1 lea rcx, [rbp+57h+arg_18] ; +0x394, 0x14007f9a4 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x398, 0x14007f9a8 mov r8, rax ; +0x39e, 0x14007f9ae lea rdx, [rbp+57h+arg_10] ; +0x3a1, 0x14007f9b1 lea rcx, [rbp+57h+arg_8] ; +0x3a5, 0x14007f9b5 call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x3a9, 0x14007f9b9 mov rcx, [rdi+288h] ; +0x3af, 0x14007f9bf mov rax, [rcx] ; +0x3b6, 0x14007f9c6 lea rdx, [rbp+57h+arg_10] ; +0x3b9, 0x14007f9c9 call qword ptr [rax+0B8h] ; +0x3bd, 0x14007f9cd mov rcx, rdi ; +0x3c3, 0x14007f9d3 call AccountHelpLayer__updatePage ; +0x3c6, 0x14007f9d6 lea rbx, [rdi+260h] ; +0x3cb, 0x14007f9db xor eax, eax ; +0x3d2, 0x14007f9e2 test rdi, rdi ; +0x3d4, 0x14007f9e4 cmovz rbx, rax ; +0x3d7, 0x14007f9e7 call GJAccountManager__sharedState ; +0x3db, 0x14007f9eb mov [rax+1A8h], rbx ; +0x3e0, 0x14007f9f0 mov byte ptr [rdi+290h], 1 ; +0x3e7, 0x14007f9f7 movaps xmm6, [rsp+0B0h+var_38+8] ; +0x3ee, 0x14007f9fe movaps xmm7, [rsp+0B0h+var_48+8] ; +0x3f6, 0x14007fa06 movaps xmm8, [rsp+0B0h+var_58+8] ; +0x3fb, 0x14007fa0b add rsp, 90h ; +0x401, 0x14007fa11 pop r14 ; +0x408, 0x14007fa18 pop rdi ; +0x40a, 0x14007fa1a pop rsi ; +0x40b, 0x14007fa1b pop rbx ; +0x40c, 0x14007fa1c pop rbp ; +0x40d, 0x14007fa1d retn ; +0x40e, 0x14007fa1e