; ; EndPortalObject::create from 0x100385cf0 to 0x100385d6f (127 bytes) ; ; 1 xrefs: ; > PlayLayer::createObjectsFromSetupFinished @ 0x1000843eb ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 12:29:10 +0000 ; push rbp ; +0x0, 0x100385cf0 mov rbp, rsp ; +0x1, 0x100385cf1 push r14 ; +0x4, 0x100385cf4 push rbx ; +0x6, 0x100385cf6 mov edi, 558h; __sz ; +0x7, 0x100385cf7 call __Znwm; operator new(ulong) ; +0xc, 0x100385cfc mov rbx, rax ; +0x11, 0x100385d01 mov rdi, rax ; +0x14, 0x100385d04 call GameObject__GameObject ; +0x17, 0x100385d07 lea rax, off_100B2B848 ; +0x1c, 0x100385d0c mov [rbx], rax ; +0x23, 0x100385d13 lea rax, off_100B2BF78 ; +0x26, 0x100385d16 mov [rbx+140h], rax ; +0x2d, 0x100385d1d lea rax, off_100B2BFF8 ; +0x34, 0x100385d24 mov [rbx+158h], rax ; +0x3b, 0x100385d2b mov qword ptr [rbx+548h], 0 ; +0x42, 0x100385d32 mov word ptr [rbx+550h], 0 ; +0x4d, 0x100385d3d mov rdi, rbx ; +0x56, 0x100385d46 call EndPortalObject__init ; +0x59, 0x100385d49 test al, al ; +0x5e, 0x100385d4e jz short loc_100385D5C ; +0x60, 0x100385d50 mov rdi, rbx ; +0x62, 0x100385d52 call cocos2d__CCObject__autorelease ; +0x65, 0x100385d55 jmp short loc_100385D67 ; +0x6a, 0x100385d5a mov rax, [rbx] ; +0x6c, 0x100385d5c mov rdi, rbx ; +0x6f, 0x100385d5f call qword ptr [rax+10h] ; +0x72, 0x100385d62 xor ebx, ebx ; +0x75, 0x100385d65 mov rax, rbx ; +0x77, 0x100385d67 pop rbx ; +0x7a, 0x100385d6a pop r14 ; +0x7b, 0x100385d6b pop rbp ; +0x7d, 0x100385d6d retn ; +0x7e, 0x100385d6e