; ; GJBaseGameLayer::destroyObject from 0x100128940 to 0x100128a01 (193 bytes) ; ; 9 xrefs: ; > GJBaseGameLayer::collisionCheckObjects @ 0x10012726c ; > GJBaseGameLayer::collisionCheckObjects @ 0x100127ae1 ; > PlayerObject::collidedWithObjectInternal @ 0x100409dab ; > PlayerObject::collidedWithObjectInternal @ 0x100409e02 ; > PlayerObject::collidedWithObjectInternal @ 0x10040a31b ; > PlayerObject::collidedWithObjectInternal @ 0x10040a3d4 ; > PlayerObject::collidedWithObjectInternal @ 0x10040a712 ; > PlayerObject::collidedWithObjectInternal @ 0x10040b180 ; > PlayerObject::collidedWithObjectInternal @ 0x10040b2fe ; ; 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 rbp ; +0x0, 0x100128940 mov rbp, rsp ; +0x1, 0x100128941 push r15 ; +0x4, 0x100128944 push r14 ; +0x6, 0x100128946 push r12 ; +0x8, 0x100128948 push rbx ; +0xa, 0x10012894a sub rsp, 10h ; +0xb, 0x10012894b mov r14, rsi ; +0xf, 0x10012894f mov rbx, rdi ; +0x12, 0x100128952 mov rax, [rsi] ; +0x15, 0x100128955 mov rdi, rsi ; +0x18, 0x100128958 call qword ptr [rax+6F8h] ; +0x1b, 0x10012895b cmp eax, 1Eh ; +0x21, 0x100128961 jnz short loc_1001289BF ; +0x24, 0x100128964 mov rdi, r14 ; +0x26, 0x100128966 call GameObject__shouldShowPickupEffects ; +0x29, 0x100128969 test al, al ; +0x2e, 0x10012896e jz short loc_1001289BF ; +0x30, 0x100128970 mov r15d, [r14+69Ch] ; +0x32, 0x100128972 test r15d, r15d ; +0x39, 0x100128979 jle short loc_1001289B4 ; +0x3c, 0x10012897c mov rax, [r14] ; +0x3e, 0x10012897e mov rdi, r14 ; +0x41, 0x100128981 call qword ptr [rax+0C0h] ; +0x44, 0x100128984 lea r12, [rbp+var_28] ; +0x4a, 0x10012898a mov rdi, r12 ; +0x4e, 0x10012898e mov rsi, rax ; +0x51, 0x100128991 call sub_10028CC60 ; +0x54, 0x100128994 movss xmm1, cs:alpha ; +0x59, 0x100128999 xorps xmm0, xmm0 ; +0x61, 0x1001289a1 mov rdi, rbx ; +0x64, 0x1001289a4 mov esi, r15d ; +0x67, 0x1001289a7 mov rdx, r12 ; +0x6a, 0x1001289aa call GJBaseGameLayer__spawnParticleTrigger ; +0x6d, 0x1001289ad jmp short loc_1001289BF ; +0x72, 0x1001289b2 mov rdi, r14 ; +0x74, 0x1001289b4 mov rsi, rbx ; +0x77, 0x1001289b7 call GameObject__spawnDefaultPickupParticle ; +0x7a, 0x1001289ba mov rdi, r14 ; +0x7f, 0x1001289bf mov rsi, rbx ; +0x82, 0x1001289c2 call GameObject__playDestroyObjectAnim ; +0x85, 0x1001289c5 mov rdi, r14 ; +0x8a, 0x1001289ca call GameObject__destroyObject ; +0x8d, 0x1001289cd mov rax, [r14] ; +0x92, 0x1001289d2 mov rdi, r14 ; +0x95, 0x1001289d5 call qword ptr [rax+6F8h] ; +0x98, 0x1001289d8 cmp eax, 15h ; +0x9e, 0x1001289de jnz short loc_1001289F4 ; +0xa1, 0x1001289e1 mov rdi, rbx ; +0xa3, 0x1001289e3 mov esi, 3Dh ; '=' ; +0xa6, 0x1001289e6 xor edx, edx ; +0xab, 0x1001289eb xor ecx, ecx ; +0xad, 0x1001289ed call GJBaseGameLayer__gameEventTriggered ; +0xaf, 0x1001289ef add rsp, 10h ; +0xb4, 0x1001289f4 pop rbx ; +0xb8, 0x1001289f8 pop r12 ; +0xb9, 0x1001289f9 pop r14 ; +0xbb, 0x1001289fb pop r15 ; +0xbd, 0x1001289fd pop rbp ; +0xbf, 0x1001289ff retn ; +0xc0, 0x100128a00