; ; GJGradientLayer::init from 0x140248da0 to 0x140248e15 (117 bytes) ; ; 4 xrefs: ; > GJBaseGameLayer::triggerGradientCommand @ 0x14021f882 ; > GJBaseGameLayer::triggerGradientCommand @ 0x14021f873 ; > @ 0x140567240 ; > @ 0x1406ce7cc ; ; 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, 0x140248da0 sub rsp, 20h ; +0x2, 0x140248da2 mov [rsp+28h+arg_8], 0FF000000h ; +0x6, 0x140248da6 lea r8, [rsp+28h+arg_10] ; +0xe, 0x140248dae mov eax, [rsp+28h+arg_8] ; +0x13, 0x140248db3 lea rdx, [rsp+28h+arg_8] ; +0x17, 0x140248db7 mov [rsp+28h+arg_8], 0FFFFFFFFh ; +0x1c, 0x140248dbc mov rdi, rcx ; +0x24, 0x140248dc4 mov [rsp+28h+arg_10], eax ; +0x27, 0x140248dc7 mov eax, [rsp+28h+arg_8] ; +0x2b, 0x140248dcb mov [rsp+28h+arg_8], eax ; +0x2f, 0x140248dcf call cs:__imp_?initWithColor@CCLayerGradient@cocos2d@@UEAA_NAEBU_ccColor4B@2@0@Z; cocos2d::CCLayerGradient::initWithColor(cocos2d::_ccColor4B const &,cocos2d::_ccColor4B const &) ; +0x33, 0x140248dd3 test al, al ; +0x39, 0x140248dd9 jnz short loc_140248DE3 ; +0x3b, 0x140248ddb add rsp, 20h ; +0x3d, 0x140248ddd pop rdi ; +0x41, 0x140248de1 retn ; +0x42, 0x140248de2 mov [rsp+28h+arg_0], rbx ; +0x43, 0x140248de3 lea rcx, [rsp+28h+arg_8] ; +0x48, 0x140248de8 mov rbx, [rdi] ; +0x4d, 0x140248ded xorps xmm2, xmm2 ; +0x50, 0x140248df0 xorps xmm1, xmm1 ; +0x53, 0x140248df3 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x56, 0x140248df6 mov rdx, rax ; +0x5c, 0x140248dfc mov rcx, rdi ; +0x5f, 0x140248dff call qword ptr [rbx+110h] ; +0x62, 0x140248e02 mov rbx, [rsp+28h+arg_0] ; +0x68, 0x140248e08 mov al, 1 ; +0x6d, 0x140248e0d add rsp, 20h ; +0x6f, 0x140248e0f pop rdi ; +0x73, 0x140248e13 retn ; +0x74, 0x140248e14