// // SecretLayer5::dSecretLayer5 from 0x100479d20 to 0x100479e22 (258 bytes) // // 4 xrefs: // > sub_100479E30 @ 0x100479e35 // > sub_100479E40 @ 0x100479e4c // > sub_100479E60 @ 0x100479e69 // > sub_100479E80 @ 0x100479e93 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall SecretLayer5::dSecretLayer5(__int64 a1) { cocos2d::CCObject *v2; // rdi void *v3; // rdi *(_QWORD *)a1 = off_10093B270; *(_QWORD *)(a1 + 320) = off_10093B728; *(_QWORD *)(a1 + 328) = &off_10093B798; *(_QWORD *)(a1 + 336) = off_10093B7B0; *(_QWORD *)(a1 + 344) = off_10093B7D0; *(_QWORD *)(a1 + 352) = off_10093B7F0; *(_QWORD *)(a1 + 408) = off_10093B818; *(_QWORD *)(a1 + 416) = &off_10093B860; *(_QWORD *)(a1 + 424) = &off_10093B878; *(_QWORD *)(a1 + 432) = off_10093B890; v2 = *(cocos2d::CCObject **)(a1 + 504); if ( v2 ) cocos2d::CCObject::release(v2); if ( GameLevelManager::sharedState()->m_GJOnlineRewardDelegate == (GJOnlineRewardDelegate *)(a1 + 432) ) GameLevelManager::sharedState()->m_GJOnlineRewardDelegate = nullptr; v3 = *(void **)(a1 + 592); if ( v3 ) { *(_QWORD *)(a1 + 600) = v3; operator delete(v3); } if ( (*(_BYTE *)(a1 + 520) & 1) != 0 ) operator delete(*(void **)(a1 + 536)); return cocos2d::CCLayer::dCCLayer(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source