// // cocos2d::extension::CCControl::removeTargetWithActionForControlEvent from 0x10023ace0 to 0x10023ade8 (264 bytes) // // 1 xrefs: // > cocos2d::extension::CCControl::removeTargetWithActionForControlEvents @ 0x10023acb8 // // 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 11:01:21 +0000 // double __fastcall cocos2d::extension::CCControl::removeTargetWithActionForControlEvent( __int64 a1, __int64 a2, unsigned __int64 a3, __int64 a4, unsigned int a5) { __int64 v8; // x0 double result; // d0 __int64 v10; // x22 unsigned int *v11; // x9 __int64 v12; // x8 _QWORD *v13; // x23 unsigned __int64 v14; // x24 __int64 v15; // x25 _QWORD *v16; // x1 __int64 v17; // x8 __int64 v18; // x8 unsigned __int64 v19; // x8 bool v20; // zf char v21; // w8 v8 = cocos2d::extension::CCControl::dispatchListforControlEvent(a1, a5); v10 = v8; if ( a2 || a4 & 1 | a3 ) { if ( v8 ) { v11 = *(unsigned int **)(v8 + 56); v12 = *v11; if ( (_DWORD)v12 ) { v13 = *((_QWORD **)v11 + 2); v14 = (unsigned __int64)&v13[v12 - 1]; v15 = a4 & 1 | a3; while ( 1 ) { v16 = (_QWORD *)*v13; if ( !*v13 ) return result; if ( !a2 ) break; v17 = v16[9]; if ( !v15 ) { if ( v17 != a2 ) goto LABEL_21; goto LABEL_20; } if ( v17 == a2 ) goto LABEL_12; LABEL_21: if ( (unsigned __int64)++v13 > v14 ) return result; } if ( v15 ) { LABEL_12: v18 = v16[8]; v20 = a4 == v18; v19 = ((unsigned __int8)v18 | (unsigned __int8)a4) & 1 | a3; v20 = v20 || v19 == 0; v21 = v20; if ( a3 != v16[7] || (v21 & 1) == 0 ) goto LABEL_21; } LABEL_20: sub_1002E765C(v10, v16, 1); goto LABEL_21; } } } else { *(_QWORD *)&result = sub_1002E7674(v8).n128_u64[0]; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source