; ; GJEffectManager::reset from 0x14025b0a0 to 0x14025b2c1 (545 bytes) ; ; 6 xrefs: ; > GJEffectManager::loadFromState @ 0x1402644bc ; > LevelEditorLayer::updateGameObjects @ 0x1402dc275 ; > LevelEditorLayer::onPlaytest @ 0x1402dfe5c ; > LevelEditorLayer::onStopPlaytest @ 0x1402e0c37 ; > PlayLayer::loadDefaultColors @ 0x1403b1ceb ; > @ 0x1406cfc78 ; ; 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, 0x14025b0a0 mov [rsp+arg_8], rsi ; +0x5, 0x14025b0a5 push rdi ; +0xa, 0x14025b0aa sub rsp, 20h ; +0xb, 0x14025b0ab mov rdi, rcx ; +0xf, 0x14025b0af add rcx, 2A0h ; +0x12, 0x14025b0b2 call sub_14005E0D0 ; +0x19, 0x14025b0b9 mov rcx, [rdi+278h] ; +0x1e, 0x14025b0be call cs:?removeAllObjects@CCDictionary@cocos2d@@QEAAXXZ; cocos2d::CCDictionary::removeAllObjects(void) ; +0x25, 0x14025b0c5 mov rcx, [rdi+280h] ; +0x2b, 0x14025b0cb call cs:?removeAllObjects@CCDictionary@cocos2d@@QEAAXXZ; cocos2d::CCDictionary::removeAllObjects(void) ; +0x32, 0x14025b0d2 mov rcx, [rdi+148h] ; +0x38, 0x14025b0d8 call cs:?removeAllObjects@CCDictionary@cocos2d@@QEAAXXZ; cocos2d::CCDictionary::removeAllObjects(void) ; +0x3f, 0x14025b0df lea rdx, [rdi+2E0h] ; +0x45, 0x14025b0e5 xor ebx, ebx ; +0x4c, 0x14025b0ec mov rax, [rdx] ; +0x4e, 0x14025b0ee lea rcx, [rax+2268h] ; +0x51, 0x14025b0f1 cmp rax, rdx ; +0x58, 0x14025b0f8 ja short loc_14025B126 ; +0x5b, 0x14025b0fb cmp rcx, rdx ; +0x5d, 0x14025b0fd jb short loc_14025B126 ; +0x60, 0x14025b100 lea rcx, ds:0[rbx*8] ; +0x62, 0x14025b102 nop word ptr [rax+rax+00h] ; +0x6a, 0x14025b10a mov rax, [rdx] ; +0x70, 0x14025b110 mov [rcx+rax], rbx ; +0x73, 0x14025b113 add rcx, 8 ; +0x77, 0x14025b117 cmp rcx, 2268h ; +0x7b, 0x14025b11b jle short loc_14025B110 ; +0x82, 0x14025b122 jmp short loc_14025B170 ; +0x84, 0x14025b124 mov ecx, 89h ; +0x86, 0x14025b126 nop dword ptr [rax+rax+00h] ; +0x8b, 0x14025b12b mov [rax], rbx ; +0x90, 0x14025b130 mov [rax+8], rbx ; +0x93, 0x14025b133 mov [rax+10h], rbx ; +0x97, 0x14025b137 lea rax, [rax+40h] ; +0x9b, 0x14025b13b mov [rax-28h], rbx ; +0x9f, 0x14025b13f mov [rax-20h], rbx ; +0xa3, 0x14025b143 mov [rax-18h], rbx ; +0xa7, 0x14025b147 mov [rax-10h], rbx ; +0xab, 0x14025b14b mov [rax-8], rbx ; +0xaf, 0x14025b14f sub rcx, 1 ; +0xb3, 0x14025b153 jnz short loc_14025B130 ; +0xb7, 0x14025b157 mov [rax], rbx ; +0xb9, 0x14025b159 mov [rax+8], rbx ; +0xbc, 0x14025b15c mov [rax+10h], rbx ; +0xc0, 0x14025b160 mov [rax+18h], rbx ; +0xc4, 0x14025b164 mov [rax+20h], rbx ; +0xc8, 0x14025b168 mov [rax+28h], rbx ; +0xcc, 0x14025b16c lea rdx, [rdi+288h] ; +0xd0, 0x14025b170 mov rcx, [rdx]; void * ; +0xd7, 0x14025b177 lea rax, [rcx+13878h] ; +0xda, 0x14025b17a cmp rcx, rdx ; +0xe1, 0x14025b181 ja short loc_14025B1A9 ; +0xe4, 0x14025b184 cmp rax, rdx ; +0xe6, 0x14025b186 jb short loc_14025B1A9 ; +0xe9, 0x14025b189 lea rcx, ds:0[rbx*8] ; +0xeb, 0x14025b18b mov rax, [rdx] ; +0xf3, 0x14025b193 mov [rcx+rax], rbx ; +0xf6, 0x14025b196 add rcx, 8 ; +0xfa, 0x14025b19a cmp rcx, 13878h ; +0xfe, 0x14025b19e jle short loc_14025B193 ; +0x105, 0x14025b1a5 jmp short loc_14025B1B6 ; +0x107, 0x14025b1a7 xor edx, edx; Val ; +0x109, 0x14025b1a9 mov r8d, 13880h; Size ; +0x10b, 0x14025b1ab call memset ; +0x111, 0x14025b1b1 mov rcx, [rdi+150h] ; +0x116, 0x14025b1b6 test rcx, rcx ; +0x11d, 0x14025b1bd jz short loc_14025B231 ; +0x120, 0x14025b1c0 mov rcx, [rcx+38h] ; +0x122, 0x14025b1c2 test rcx, rcx ; +0x126, 0x14025b1c6 jz short loc_14025B231 ; +0x129, 0x14025b1c9 mov rdx, [rcx+120h] ; +0x12b, 0x14025b1cb movzx eax, cs:word_140529AB0 ; +0x132, 0x14025b1d2 mov rcx, [rcx+108h] ; +0x139, 0x14025b1d9 mov [rcx+144h], ax ; +0x140, 0x14025b1e0 movzx eax, cs:byte_140529AB2 ; +0x147, 0x14025b1e7 mov [rcx+146h], al ; +0x14e, 0x14025b1ee movzx eax, cs:word_140529AB0 ; +0x154, 0x14025b1f4 mov [rcx+147h], ax ; +0x15b, 0x14025b1fb movzx eax, cs:byte_140529AB2 ; +0x162, 0x14025b202 mov [rcx+149h], al ; +0x169, 0x14025b209 mov dword ptr [rcx+140h], 437F0000h ; +0x16f, 0x14025b20f mov [rcx+158h], rbx ; +0x179, 0x14025b219 mov rcx, rdx ; +0x180, 0x14025b220 test rdx, rdx ; +0x183, 0x14025b223 jz short loc_14025B231 ; +0x186, 0x14025b226 mov rdx, [rdx+120h] ; +0x188, 0x14025b228 jmp short loc_14025B1D2 ; +0x18f, 0x14025b22f mov rcx, rdi ; +0x191, 0x14025b231 call GJEffectManager__resetEffects ; +0x194, 0x14025b234 mov rbx, [rdi+608h] ; +0x199, 0x14025b239 mov rsi, [rdi+610h] ; +0x1a0, 0x14025b240 cmp rbx, rsi ; +0x1a7, 0x14025b247 jz short loc_14025B282 ; +0x1aa, 0x14025b24a nop dword ptr [rax+00h] ; +0x1ac, 0x14025b24c lea rcx, [rbx+1E8h] ; +0x1b0, 0x14025b250 call sub_14005E430 ; +0x1b7, 0x14025b257 lea rcx, [rbx+1B8h] ; +0x1bc, 0x14025b25c call sub_140257B50 ; +0x1c3, 0x14025b263 add rbx, 208h ; +0x1c8, 0x14025b268 cmp rbx, rsi ; +0x1cf, 0x14025b26f jnz short loc_14025B250 ; +0x1d2, 0x14025b272 mov rax, [rdi+608h] ; +0x1d4, 0x14025b274 mov [rdi+610h], rax ; +0x1db, 0x14025b27b lea rcx, [rdi+620h] ; +0x1e2, 0x14025b282 call sub_1402651F0 ; +0x1e9, 0x14025b289 lea rcx, [rdi+6D0h] ; +0x1ee, 0x14025b28e call sub_14005D290 ; +0x1f5, 0x14025b295 mov rax, [rdi+790h] ; +0x1fa, 0x14025b29a cmp rax, [rdi+798h] ; +0x201, 0x14025b2a1 jz short loc_14025B2B1 ; +0x208, 0x14025b2a8 mov [rdi+798h], rax ; +0x20a, 0x14025b2aa mov rbx, [rsp+28h+arg_0] ; +0x211, 0x14025b2b1 mov rsi, [rsp+28h+arg_8] ; +0x216, 0x14025b2b6 add rsp, 20h ; +0x21b, 0x14025b2bb pop rdi ; +0x21f, 0x14025b2bf retn ; +0x220, 0x14025b2c0