// // cocos2d::extension::CCControl::sendActionsForControlEvents from 0x10023a9ac to 0x10023ab28 (380 bytes) // // 4 xrefs: // > @ 0x1009056c0 // > @ 0x100906b08 // > @ 0x1009079d0 // > @ 0x10090dcc8 // // 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 // __int64 __fastcall cocos2d::extension::CCControl::sendActionsForControlEvents(__int64 result, int a2) { __int64 v3; // x20 int v4; // w25 _QWORD *v5; // x26 unsigned int *v6; // x9 __int64 v7; // x8 __int64 *v8; // x23 unsigned __int64 v9; // x24 __int64 v10; // x9 _QWORD *v11; // x8 __int64 v12; // x23 __int64 v13; // x24 __int64 v14; // x0 _DWORD *v15; // x0 __int64 v16; // x0 _QWORD *v17; // x0 void *__p[2]; // [xsp+8h] [xbp-68h] BYREF char v19; // [xsp+1Fh] [xbp-51h] v3 = result; v4 = 0; v5 = (_QWORD *)(result + 456); do { if ( ((1 << v4) & a2) != 0 ) { result = cocos2d::extension::CCControl::dispatchListforControlEvent(v3, (unsigned int)(1 << v4)); if ( result ) { v6 = *(unsigned int **)(result + 56); v7 = *v6; if ( (_DWORD)v7 ) { v8 = *((__int64 **)v6 + 2); v9 = (unsigned __int64)&v8[v7 - 1]; do { result = *v8; if ( !*v8 ) break; result = cocos2d::extension::CCInvocation::invoke(result, v3); ++v8; } while ( (unsigned __int64)v8 <= v9 ); } } if ( *(_DWORD *)(v3 + 300) ) { v10 = *v5; if ( *v5 ) { v11 = v5; do { if ( *(_DWORD *)(v10 + 28) >= a2 ) v11 = (_QWORD *)v10; v10 = *(_QWORD *)(v10 + 8LL * (*(_DWORD *)(v10 + 28) < a2)); } while ( v10 ); if ( v11 != v5 && *((_DWORD *)v11 + 7) <= a2 ) { v12 = *((unsigned int *)v11 + 8); if ( (_DWORD)v12 != -1 ) { v13 = sub_1002E7510(3); sub_100009900(__p, ""); v14 = sub_1003064AC(__p); sub_1002E74E0(v13, v14); if ( v19 < 0 ) operator delete(__p[0]); sub_1002E74E0(v13, v3); v15 = sub_100145068(1 << v4); sub_1002E74E0(v13, v15); v17 = (_QWORD *)cocos2d::CCScriptEngineManager::sharedManager(v16); result = (*(__int64 (__fastcall **)(_QWORD, __int64, __int64))(*(_QWORD *)*v17 + 152LL))(*v17, v12, v13); } } } } } ++v4; } while ( v4 != 9 ); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source