; ; GJSmartTemplate::offsetForType from 0x1402b3650 to 0x1402b373b (235 bytes) ; ; 8 xrefs: ; > EditorUI::addObjectsToSmartTemplate @ 0x140115de7 ; > EditorUI::createSmartObjectsFromTemplate @ 0x140116f79 ; > EditorUI::createSmartObjectsFromTemplate @ 0x1401170f1 ; > EditorUI::createPrefab @ 0x140117b7b ; > GJSmartBlockPreview::addTemplateGuide_1 @ 0x1402b5fe3 ; > GJSmartBlockPreview::addTemplateGuide_1 @ 0x1402b63f4 ; > GJSmartBlockPreview::addPreview @ 0x1402b66b3 ; > @ 0x1406d23c0 ; ; 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 rbx ; +0x0, 0x1402b3650 sub rsp, 20h ; +0x2, 0x1402b3652 add edx, 0FFFFFFCAh; switch 23 cases ; +0x6, 0x1402b3656 mov rbx, rcx ; +0x9, 0x1402b3659 cmp edx, 16h ; +0xc, 0x1402b365c ja def_1402B3681; jumptable 00000001402B3681 default case, cases 58-64 ; +0xf, 0x1402b365f movsxd rax, edx ; +0x15, 0x1402b3665 lea rcx, cs:140000000h ; +0x18, 0x1402b3668 movzx eax, ds:(byte_1402B3724 - 140000000h)[rcx+rax] ; +0x1f, 0x1402b366f mov edx, ds:(jpt_1402B3681 - 140000000h)[rcx+rax*4] ; +0x27, 0x1402b3677 add rdx, rcx ; +0x2e, 0x1402b367e jmp rdx; switch jump ; +0x31, 0x1402b3681 movss xmm1, cs:dword_1406230E0; jumptable 00000001402B3681 cases 54,57,65,68 ; +0x33, 0x1402b3683 xorps xmm2, xmm2 ; +0x3b, 0x1402b368b mov rcx, rbx ; +0x3e, 0x1402b368e call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x41, 0x1402b3691 mov rax, rbx ; +0x47, 0x1402b3697 add rsp, 20h ; +0x4a, 0x1402b369a pop rbx ; +0x4e, 0x1402b369e retn ; +0x4f, 0x1402b369f movss xmm1, cs:dword_140623880; jumptable 00000001402B3681 cases 55,56,66,67 ; +0x50, 0x1402b36a0 xorps xmm2, xmm2 ; +0x58, 0x1402b36a8 mov rcx, rbx ; +0x5b, 0x1402b36ab call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x5e, 0x1402b36ae mov rax, rbx ; +0x64, 0x1402b36b4 add rsp, 20h ; +0x67, 0x1402b36b7 pop rbx ; +0x6b, 0x1402b36bb retn ; +0x6c, 0x1402b36bc movss xmm2, cs:dword_140623880; jumptable 00000001402B3681 cases 69,71,74,76 ; +0x6d, 0x1402b36bd xorps xmm1, xmm1 ; +0x75, 0x1402b36c5 mov rcx, rbx ; +0x78, 0x1402b36c8 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x7b, 0x1402b36cb mov rax, rbx ; +0x81, 0x1402b36d1 add rsp, 20h ; +0x84, 0x1402b36d4 pop rbx ; +0x88, 0x1402b36d8 retn ; +0x89, 0x1402b36d9 movss xmm2, cs:dword_1406230E0; jumptable 00000001402B3681 cases 70,72,73,75 ; +0x8a, 0x1402b36da xorps xmm1, xmm1 ; +0x92, 0x1402b36e2 mov rcx, rbx ; +0x95, 0x1402b36e5 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x98, 0x1402b36e8 mov rax, rbx ; +0x9e, 0x1402b36ee add rsp, 20h ; +0xa1, 0x1402b36f1 pop rbx ; +0xa5, 0x1402b36f5 retn ; +0xa6, 0x1402b36f6 lea rdx, stru_1406C1F88; jumptable 00000001402B3681 default case, cases 58-64 ; +0xa7, 0x1402b36f7 mov rcx, rbx ; +0xae, 0x1402b36fe call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0xb1, 0x1402b3701 mov rax, rbx ; +0xb7, 0x1402b3707 add rsp, 20h ; +0xba, 0x1402b370a pop rbx ; +0xbe, 0x1402b370e retn ; +0xbf, 0x1402b370f dd offset loc_1402B3683 - 140000000h; jump table for switch statement ; +0xc0, 0x1402b3710 db 0, 1, 1, 0; indirect table for switch statement ; +0xd4, 0x1402b3724