// // cocos2d::extension::CCControl::removeTargetWithActionForControlEvent from 0x10033d9b0 to 0x10033db46 (406 bytes) // // 9 xrefs: // > cocos2d::extension::CCControl::removeTargetWithActionForControlEvents @ 0x10033d892 // > cocos2d::extension::CCControl::removeTargetWithActionForControlEvents @ 0x10033d8af // > cocos2d::extension::CCControl::removeTargetWithActionForControlEvents @ 0x10033d8d0 // > cocos2d::extension::CCControl::removeTargetWithActionForControlEvents @ 0x10033d8f1 // > cocos2d::extension::CCControl::removeTargetWithActionForControlEvents @ 0x10033d912 // > cocos2d::extension::CCControl::removeTargetWithActionForControlEvents @ 0x10033d933 // > cocos2d::extension::CCControl::removeTargetWithActionForControlEvents @ 0x10033d954 // > cocos2d::extension::CCControl::removeTargetWithActionForControlEvents @ 0x10033d974 // > cocos2d::extension::CCControl::removeTargetWithActionForControlEvents @ 0x10033d9a6 // // 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:28:42 +0000 // unsigned int *__fastcall cocos2d::extension::CCControl::removeTargetWithActionForControlEvent( __int64 a1, __int64 a2, __int64 a3, unsigned int *a4, unsigned int a5) { __int64 v8; // rbx unsigned int *result; // rax _QWORD *v10; // r14 unsigned __int64 v11; // r13 _QWORD *v12; // rsi _QWORD *v13; // rsi _QWORD *v14; // rsi v8 = cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 440), (int)a5); if ( !v8 ) { v8 = sub_1007FEC20(1); cocos2d::CCDictionary::setObject_1(*(_QWORD *)(a1 + 440), v8, a5); result = (unsigned int *)(a3 | a2); if ( a3 | a2 ) goto LABEL_3; return (unsigned int *)sub_1007FF190(v8); } result = (unsigned int *)(a3 | a2); if ( !(a3 | a2) ) return (unsigned int *)sub_1007FF190(v8); LABEL_3: if ( v8 ) { result = *(unsigned int **)(v8 + 56); if ( *result ) { v10 = *((_QWORD **)result + 2); v11 = (unsigned __int64)&v10[*result - 1]; if ( a3 ) { if ( a2 ) { do { v12 = (_QWORD *)*v10; if ( !*v10 ) break; if ( v12[9] == a2 && v12[7] == a3 ) { result = a4; if ( (unsigned int *)v12[8] == a4 ) result = (unsigned int *)sub_1007FF140(v8, v12, 1); } ++v10; } while ( (unsigned __int64)v10 <= v11 ); } else { do { v13 = (_QWORD *)*v10; if ( !*v10 ) break; if ( v13[7] == a3 ) { result = a4; if ( (unsigned int *)v13[8] == a4 ) result = (unsigned int *)sub_1007FF140(v8, v13, 1); } ++v10; } while ( (unsigned __int64)v10 <= v11 ); } } else if ( a2 ) { do { v14 = (_QWORD *)*v10; if ( !*v10 ) break; if ( v14[9] == a2 ) result = (unsigned int *)sub_1007FF140(v8, v14, 1); ++v10; } while ( (unsigned __int64)v10 <= v11 ); } else { do { if ( !*v10 ) break; result = (unsigned int *)sub_1007FF140(v8, *v10++, 1); } while ( (unsigned __int64)v10 <= v11 ); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source