// // cocos2d::CCIMEDispatcher::removeDelegate from 0x1800b8a30 to 0x1800b8aa2 (114 bytes) // // 1 xrefs: // > @ 0x18014cf68 // // 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 11:22:22 +0000 // void __fastcall cocos2d::CCIMEDispatcher::removeDelegate(void *****this, struct cocos2d::CCIMEDelegate *a2) { void ****v3; // r8 void **v4; // rax void **v5; // rcx void ***v6; // rax void ****v7; // r8 if ( a2 ) { v3 = *this; if ( *this ) { v4 = (void **)*v3; v5 = **v3; if ( v5 != (void **)*v3 ) { while ( a2 != v5[2] ) { v5 = (void **)*v5; if ( v5 == v4 ) return; } if ( v4 != v5 ) { v6 = v3[2]; if ( v6 ) { if ( v5[2] == v6 ) v3[2] = nullptr; } v7 = *this; *(_QWORD *)v5[1] = *v5; *((_QWORD *)*v5 + 1) = v5[1]; v7[1] = (void ***)((char *)v7[1] - 1); j_j_free_0(v5); } } } } }