// // sub_1003F1D70 from 0x1003f1d70 to 0x1003f1f18 (424 bytes) // // 2 xrefs: // > sub_1003F0334 @ 0x1003f0360 // > sub_1003F0364 @ 0x1003f0404 // // 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:04:31 +0000 // _DWORD *__fastcall sub_1003F1D70(__int64 *a1) { _DWORD *v2; // x19 _DWORD *v3; // x20 _DWORD *v4; // x21 _DWORD *v5; // x22 __int64 v6; // x24 __int64 v7; // x25 int v8; // w28 __int64 v9; // x0 _BOOL4 GameVariable; // w26 __int64 v11; // x0 __int64 v12; // x0 __int64 v13; // x0 __int64 v14; // x0 __int64 v15; // x0 void *v16; // x23 __int64 v17; // x0 _DWORD *result; // x0 v2 = (_DWORD *)a1[87]; if ( v2 ) cocos2d::CCObject::retain(a1[87]); v3 = (_DWORD *)a1[88]; if ( v3 ) cocos2d::CCObject::retain(a1[88]); v4 = (_DWORD *)a1[89]; if ( v4 ) cocos2d::CCObject::retain(a1[89]); v5 = (_DWORD *)a1[90]; if ( v5 ) cocos2d::CCObject::retain(a1[90]); v6 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 512))(a1); v7 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 104))(a1); v8 = *((unsigned __int8 *)a1 + 880); sub_1003F00FC(a1); v9 = GameManager::sharedState(); GameVariable = GameManager::getGameVariable(v9, "0090"); v11 = GameManager::sharedState(); GameManager::setGameVariable(v11, "0090", 1); if ( a1[97] ) { v12 = cocos2d::CCDirector::sharedDirector(); v13 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v12 + 160LL))(v12); cocos2d::CCTouchDispatcher::unregisterForcePrio(v13, a1[97]); } v14 = cocos2d::CCDirector::sharedDirector(); v15 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v14 + 160LL))(v14); cocos2d::CCTouchDispatcher::unregisterForcePrio(v15, (__int64)a1); v16 = InfoLayer::create((__int64)v2, (__int64)v3, (__int64)v4, (__int64)v5); v17 = GameManager::sharedState(); GameManager::setGameVariable(v17, "0090", GameVariable); result = (_DWORD *)(*(__int64 (__fastcall **)(__int64, void *, __int64))(*(_QWORD *)v6 + 464LL))(v6, v16, v7); if ( v8 ) result = (_DWORD *)sub_1003F0408((__int64)v16); if ( v2 ) result = cocos2d::CCObject::release(v2); if ( v3 ) result = cocos2d::CCObject::release(v3); if ( v4 ) result = cocos2d::CCObject::release(v4); if ( v5 ) return cocos2d::CCObject::release(v5); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source