// // cocos2d::extension::CCControl::removeTargetWithActionForControlEvent from 0xd0b834 to 0xd0b954 (288 bytes) // // 10 xrefs: // > cocos2d::extension::CCControl::removeTargetWithActionForControlEvents @ 0xd0b9c8 // > cocos2d::extension::CCControl::removeTargetWithActionForControlEvents @ 0xd0b9f4 // > cocos2d::extension::CCControl::removeTargetWithActionForControlEvents @ 0xd0ba0c // > cocos2d::extension::CCControl::removeTargetWithActionForControlEvents @ 0xd0ba2c // > cocos2d::extension::CCControl::removeTargetWithActionForControlEvents @ 0xd0ba4c // > cocos2d::extension::CCControl::removeTargetWithActionForControlEvents @ 0xd0ba6c // > cocos2d::extension::CCControl::removeTargetWithActionForControlEvents @ 0xd0ba8c // > cocos2d::extension::CCControl::removeTargetWithActionForControlEvents @ 0xd0baac // > cocos2d::extension::CCControl::removeTargetWithActionForControlEvents @ 0xd0babc // > @ 0xfde70 // // This function is hookable on this platform (idp: arm, 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 13:06:59 +0000 // __int64 __fastcall cocos2d::extension::CCControl::removeTargetWithActionForControlEvent( cocos2d::CCDictionary **a1, __int64 a2, __int64 a3, __int64 a4, unsigned int a5) { __int64 result; // x0 cocos2d::CCArray *v9; // x26 unsigned int *v10; // x1 cocos2d::CCObject **v11; // x19 cocos2d::CCObject **v12; // x22 cocos2d::CCObject *v13; // x1 __int64 v14; // x2 result = (__int64)cocos2d::extension::CCControl::dispatchListforControlEvent(a1, a5); v9 = (cocos2d::CCArray *)result; if ( !a2 && !a3 && (a4 & 1) == 0 ) return cocos2d::CCArray::removeAllObjects((cocos2d::CCArray *)result); if ( result ) { v10 = *(unsigned int **)(result + 56); result = *v10; if ( (_DWORD)result ) { v11 = *((cocos2d::CCObject ***)v10 + 2); v12 = &v11[(unsigned int)result - 1]; if ( v11 <= v12 ) { v13 = *v11; if ( *v11 ) { while ( !a2 ) { if ( a3 || (a4 & 1) != 0 ) goto LABEL_10; LABEL_16: result = cocos2d::CCArray::removeObject(v9, v13, 1); LABEL_11: if ( v12 >= ++v11 ) { v13 = *v11; if ( *v11 ) continue; } return result; } result = a2 == *((_QWORD *)v13 + 9); if ( !a3 && (a4 & 1) == 0 ) { if ( a2 != *((_QWORD *)v13 + 9) ) goto LABEL_11; goto LABEL_16; } if ( a2 != *((_QWORD *)v13 + 9) ) goto LABEL_11; LABEL_10: result = *((_QWORD *)v13 + 7); v14 = *((_QWORD *)v13 + 8); if ( a3 != result || a4 != v14 && (a3 || (((unsigned int)v14 | (unsigned int)a4) & 1) != 0) ) goto LABEL_11; goto LABEL_16; } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source