// // SecretLayer3::dialogClosed from 0x1003ae330 to 0x1003ae584 (596 bytes) // // 2 xrefs: // > sub_1003AE584 @ 0x1003ae588 // > @ 0x1009463f8 // // 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:03:52 +0000 // __int64 __fastcall SecretLayer3::dialogClosed(__int64 a1, __int64 a2) { char v4; // w8 int v5; // w23 int v6; // w8 _WORD *v7; // x20 float *v8; // x21 char v9; // w0 __int64 v10; // x1 __int64 v11; // x2 __int64 v12; // x3 __int64 v13; // x4 __int64 v14; // x5 __int64 v15; // x6 __int64 v16; // x7 __int64 v17; // x0 __int64 v18; // x0 float *v19; // x20 char v20; // w0 __int64 v21; // x1 __int64 v22; // x2 __int64 v23; // x3 __int64 v24; // x4 __int64 v25; // x5 __int64 v26; // x6 __int64 v27; // x7 __int64 v28; // x0 __int64 result; // x0 __int64 v30; // x0 __int64 v31; // x0 const char *v32; // x1 __int64 v33; // x0 int v34; // [xsp+1Ch] [xbp-34h] BYREF if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) != 4 ) { v30 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); if ( (_DWORD)v30 == 5 ) { v31 = GameManager::sharedState(v30); v32 = "13"; } else { if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 3 ) return sub_1003ADA30(a1); if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 1 ) return sub_1003ACEA4(a1); v33 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); if ( (_DWORD)v33 != 2 ) { result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); if ( (_DWORD)result != 6 ) return result; LABEL_13: *(_BYTE *)(a1 + 424) = 0; return result; } v31 = GameManager::sharedState(v33); v32 = "12"; } result = GameManager::setUGV(v31, v32, 1); goto LABEL_13; } v4 = 1; do { v5 = v4 & 1; if ( (v4 & 1) != 0 ) v6 = -1; else v6 = 1358954495; v34 = v6; v7 = cocos2d::CCLayerColor::create_1((__int64)&v34); (*(void (__fastcall **)(__int64, _WORD *, __int64))(*(_QWORD *)a1 + 464LL))(a1, v7, 100); (*(void (__fastcall **)(_WORD *, __int64))(*(_QWORD *)v7 + 1288LL))(v7, 0x100000302LL); v8 = cocos2d::CCFadeTo::create(0, 2.0); v9 = (unsigned __int8)cocos2d::CCCallFunc::create((__int64)v7, 536, 1); v17 = sub_10021D420((__int64)v8, v10, v11, v12, v13, v14, v15, v16, v9); cocos2d::CCNode::runAction((__int64)v7, v17); v4 = 0; } while ( v5 ); cocos2d::CCNode::stopAllActions(*(_QWORD *)(a1 + 440)); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 440) + 344LL))(*(_QWORD *)(a1 + 440), 0); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 448) + 344LL))(*(_QWORD *)(a1 + 448), 0); v18 = *(_QWORD *)(a1 + 456); if ( v18 ) { (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v18 + 344LL))(v18, 1); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 456) + 1056LL))(*(_QWORD *)(a1 + 456), 1); } v19 = cocos2d::CCDelayTime::create(3.0); v20 = (unsigned __int8)cocos2d::CCCallFunc::create(a1, (__int64)sub_1003ADFB0, 0); v28 = sub_10021D420((__int64)v19, v21, v22, v23, v24, v25, v26, v27, v20); return cocos2d::CCNode::runAction(a1, v28); }
GD Web Decomp Icon

GD Web Decomp

Raw Source