// // EnhancedGameObject::updateUserCoin from 0x1402a3970 to 0x1402a3af1 (385 bytes) // // 3 xrefs: // > GameObject::objectFromVector @ 0x14029b6eb // > PlayLayer::createObjectsFromSetupFinished @ 0x14050c28f // > @ 0x14091da14 // // This function is hookable on this platform (idp: pc, 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:29:16 +0000 // // Hidden C++ exception states: #wind=1 double __fastcall EnhancedGameObject::updateUserCoin(__int64 a1) { __int64 v2; // rcx char hasUniqueCoin; // al __int64 v4; // rax __int64 v5; // rdi int v6; // xmm1_4 int v7; // xmm1_4 __int64 v8; // rax double result; // xmm0_8 __int64 v10; // [rsp+30h] [rbp-28h] BYREF int v11; // [rsp+38h] [rbp-20h] int v12; // [rsp+3Ch] [rbp-1Ch] if ( !*(_BYTE *)(a1 + 653) ) { v2 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v10 = (__int64)operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager(v10); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v2 = qword_14090BFD0; } hasUniqueCoin = GJBaseGameLayer::hasUniqueCoin(*(_QWORD *)(v2 + 560), a1); *(_BYTE *)(a1 + 1462) = hasUniqueCoin; if ( !hasUniqueCoin ) { v4 = GameObject::createAndAddParticle(a1, *(_DWORD *)(a1 + 928), (int)"coinEffect.plist", 0, 2); v5 = v4; if ( v4 ) { if ( *(_DWORD *)(a1 + 1036) != 142 ) { v6 = *(_DWORD *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 1344LL))(v4) + 12); v10 = 0x3F8000003F800000LL; v11 = 1065353216; v12 = v6; (*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v5 + 1352LL))(v5, &v10); v7 = *(_DWORD *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 1376LL))(v5) + 12); v10 = 0x3F0000003F000000LL; v11 = 1056964608; v12 = v7; (*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v5 + 1384LL))(v5, &v10); } } cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v10, 0.0, -19.0); return cocos2d::CCPoint::operator=(a1 + 820, v8); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source