; ; GJBaseGameLayer::playerTouchedRing from 0x140217e40 to 0x140217f47 (263 bytes) ; ; 3 xrefs: ; > GJBaseGameLayer::collisionCheckObjects @ 0x140215a3b ; > GJBaseGameLayer::collisionCheckObjects @ 0x140215a4b ; > @ 0x1406cd1f4 ; ; 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_8], rbx ; +0x0, 0x140217e40 mov [rsp+arg_10], rbp ; +0x5, 0x140217e45 mov [rsp+arg_18], rsi ; +0xa, 0x140217e4a push rdi ; +0xf, 0x140217e4f sub rsp, 30h ; +0x10, 0x140217e50 cmp byte ptr [r8+2F8h], 0 ; +0x14, 0x140217e54 mov rdi, r8 ; +0x1c, 0x140217e5c mov rbx, rdx ; +0x1f, 0x140217e5f mov rbp, rcx ; +0x22, 0x140217e62 jnz short loc_140217EA1 ; +0x25, 0x140217e65 mov eax, [r8+39Ch] ; +0x27, 0x140217e67 lea rdx, [rsp+38h+var_18] ; +0x2e, 0x140217e6e lea r8, [rsp+38h+arg_0] ; +0x33, 0x140217e73 mov [rsp+38h+arg_0], eax ; +0x38, 0x140217e78 add rcx, 548h ; +0x3c, 0x140217e7c call sub_1402505B0 ; +0x43, 0x140217e83 xor r9d, r9d ; +0x48, 0x140217e88 mov rcx, rbp ; +0x4b, 0x140217e8b mov r8, [rax] ; +0x4e, 0x140217e8e lea edx, [r9+7] ; +0x51, 0x140217e91 mov [r8+18h], rdi ; +0x55, 0x140217e95 xor r8d, r8d ; +0x59, 0x140217e99 call GJBaseGameLayer__gameEventTriggered ; +0x5c, 0x140217e9c mov rcx, [rbx+0A38h] ; +0x61, 0x140217ea1 mov rdx, rdi ; +0x68, 0x140217ea8 call cs:?containsObject@CCArray@cocos2d@@QEBA_NPEAVCCObject@2@@Z; cocos2d::CCArray::containsObject(cocos2d::CCObject *) ; +0x6b, 0x140217eab test al, al ; +0x71, 0x140217eb1 jnz short loc_140217EC5 ; +0x73, 0x140217eb3 mov rcx, [rbx+0A38h] ; +0x75, 0x140217eb5 mov rdx, rdi ; +0x7c, 0x140217ebc call cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x7f, 0x140217ebf mov eax, [rdi+39Ch] ; +0x85, 0x140217ec5 lea rcx, [rbx+0A40h] ; +0x8b, 0x140217ecb lea r8, [rsp+38h+arg_0] ; +0x92, 0x140217ed2 mov [rsp+38h+arg_0], eax ; +0x97, 0x140217ed7 lea rdx, [rsp+38h+var_18] ; +0x9b, 0x140217edb call sub_140060D70 ; +0xa0, 0x140217ee0 mov rax, [rdi] ; +0xa5, 0x140217ee5 mov rcx, rdi ; +0xa8, 0x140217ee8 mov edx, [rbp+3E0h] ; +0xab, 0x140217eeb call qword ptr [rax+678h] ; +0xb1, 0x140217ef1 cmp byte ptr [rbx+9B9h], 0 ; +0xb7, 0x140217ef7 jnz short loc_140217F32 ; +0xbe, 0x140217efe cmp byte ptr [rbx+9BAh], 0 ; +0xc0, 0x140217f00 jnz short loc_140217F32 ; +0xc7, 0x140217f07 cmp byte ptr [rbx+9BCh], 0 ; +0xc9, 0x140217f09 jnz short loc_140217F32 ; +0xd0, 0x140217f10 cmp byte ptr [rbx+9C4h], 0 ; +0xd2, 0x140217f12 jnz short loc_140217F32 ; +0xd9, 0x140217f19 cmp byte ptr [rdi+740h], 0 ; +0xdb, 0x140217f1b jnz short loc_140217F32 ; +0xe2, 0x140217f22 xor r8d, r8d ; +0xe4, 0x140217f24 mov rdx, rdi ; +0xe7, 0x140217f27 mov rcx, rbx ; +0xea, 0x140217f2a call PlayerObject__ringJump ; +0xed, 0x140217f2d mov rbx, [rsp+38h+arg_8] ; +0xf2, 0x140217f32 mov rbp, [rsp+38h+arg_10] ; +0xf7, 0x140217f37 mov rsi, [rsp+38h+arg_18] ; +0xfc, 0x140217f3c add rsp, 30h ; +0x101, 0x140217f41 pop rdi ; +0x105, 0x140217f45 retn ; +0x106, 0x140217f46