// // cocos2d::CCKeyboardHandler::setDelegate from 0x10042bc10 to 0x10042bc7b (107 bytes) // // 0 xrefs: // // 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:30:20 +0000 // void __fastcall cocos2d::CCKeyboardHandler::setDelegate(__int64 a1, const void *a2) { void *v3; // rax const void *v4; // rdi void *v5; // rax if ( a2 ) { v3 = __dynamic_cast( a2, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCKeyboardDelegate, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, -2); cocos2d::CCObject::retain(v3); } v4 = *(const void **)(a1 + 56); if ( v4 ) { v5 = __dynamic_cast( v4, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCKeyboardDelegate, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, -2); cocos2d::CCObject::release(v5); } *(_QWORD *)(a1 + 56) = a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source