; ; sub_180002AA0 from 0x180002aa0 to 0x180002b64 (196 bytes) ; ; 2 xrefs: ; > @ 0x180023410 ; > @ 0x180049180 ; ; 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, 0x180002aa0 mov [rsp+arg_8], rbp ; +0x5, 0x180002aa5 mov [rsp+arg_10], rsi ; +0xa, 0x180002aaa push rdi ; +0xf, 0x180002aaf sub rsp, 20h ; +0x10, 0x180002ab0 mov ebp, edx ; +0x14, 0x180002ab4 mov rdi, rcx ; +0x16, 0x180002ab6 lea rax, ??_7Helper@AssetsManager@extension@cocos2d@@6B@; const cocos2d::extension::AssetsManager::Helper::`vftable' ; +0x19, 0x180002ab9 mov [rcx], rax ; +0x20, 0x180002ac0 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x23, 0x180002ac3 mov r8, [rax] ; +0x29, 0x180002ac9 mov rcx, rax ; +0x2c, 0x180002acc call qword ptr [r8+70h] ; +0x2f, 0x180002acf mov rcx, rax ; +0x33, 0x180002ad3 mov rdx, rdi ; +0x36, 0x180002ad6 call cs:?unscheduleAllForTarget@CCScheduler@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCScheduler::unscheduleAllForTarget(cocos2d::CCObject *) ; +0x39, 0x180002ad9 mov rsi, [rdi+38h] ; +0x3f, 0x180002adf test rsi, rsi ; +0x43, 0x180002ae3 jz short loc_180002B2F ; +0x46, 0x180002ae6 mov rcx, [rsi] ; +0x48, 0x180002ae8 mov rax, [rcx+8] ; +0x4b, 0x180002aeb mov qword ptr [rax], 0 ; +0x4f, 0x180002aef mov rcx, [rcx]; Block ; +0x56, 0x180002af6 test rcx, rcx ; +0x59, 0x180002af9 jz short loc_180002B15 ; +0x5c, 0x180002afc xchg ax, ax ; +0x5e, 0x180002afe mov rbx, [rcx] ; +0x60, 0x180002b00 mov edx, 18h ; +0x63, 0x180002b03 call j_j_free ; +0x68, 0x180002b08 mov rcx, rbx ; +0x6d, 0x180002b0d test rbx, rbx ; +0x70, 0x180002b10 jnz short loc_180002B00 ; +0x73, 0x180002b13 mov edx, 18h ; +0x75, 0x180002b15 mov rcx, [rsi]; Block ; +0x7a, 0x180002b1a call j_j_free ; +0x7d, 0x180002b1d mov edx, 10h ; +0x82, 0x180002b22 mov rcx, rsi; Block ; +0x87, 0x180002b27 call j_j_free ; +0x8a, 0x180002b2a mov rcx, rdi ; +0x8f, 0x180002b2f call cs:__imp_??1CCObject@cocos2d@@UEAA@XZ; cocos2d::CCObject::~CCObject(void) ; +0x92, 0x180002b32 nop ; +0x98, 0x180002b38 test bpl, 1 ; +0x99, 0x180002b39 jz short loc_180002B4C ; +0x9d, 0x180002b3d mov edx, 48h ; 'H' ; +0x9f, 0x180002b3f mov rcx, rdi; Block ; +0xa4, 0x180002b44 call j_j_free ; +0xa7, 0x180002b47 mov rax, rdi ; +0xac, 0x180002b4c mov rbx, [rsp+28h+arg_0] ; +0xaf, 0x180002b4f mov rbp, [rsp+28h+arg_8] ; +0xb4, 0x180002b54 mov rsi, [rsp+28h+arg_10] ; +0xb9, 0x180002b59 add rsp, 20h ; +0xbe, 0x180002b5e pop rdi ; +0xc2, 0x180002b62 retn ; +0xc3, 0x180002b63