// // EditLevelLayer::onGuidelines from 0x1400d6810 to 0x1400d697f (367 bytes) // // 2 xrefs: // > EditLevelLayer::init @ 0x1400d661f // > @ 0x1406c8778 // // 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 // // Hidden C++ exception states: #wind=1 void EditLevelLayer::onGuidelines(EditLevelLayer *a1, cocos2d::CCObject *a2) { int v2; // ebx _QWORD *v3; // rax _OWORD *v4; // rcx const char *v5; // rdx __int64 v6; // r8 __int64 v7; // rax FLAlertLayer *v8; // rbx __int128 v9; // [rsp+50h] [rbp-48h] BYREF __int64 v10; // [rsp+60h] [rbp-38h] __int64 v11; // [rsp+68h] [rbp-30h] _BYTE v12[40]; // [rsp+70h] [rbp-28h] BYREF v2 = (_DWORD)a1 + 416; if ( !a1 ) v2 = 0; v9 = 0; v3 = sub_14003AA10(0x1E0u); *(_QWORD *)&v9 = v3; v10 = 464; v11 = 479; v4 = v3; v5 = "Hateful, abusive, or otherwise inappropriate content, whether it is in the level, name, or description may lead t" "o deletion. The same applies to levels abusing cheats or exploits. Stealing assets from other levels is <" "co>discouraged and may stop a level from being rated depending on the context, severity, credit, and more. Le" "vels verified with hacks cannot be rated.\n" "These guidelines and their enforcement are entirely at RobTop's discretion."; v6 = 3; do { *v4 = *(_OWORD *)v5; v4[1] = *((_OWORD *)v5 + 1); v4[2] = *((_OWORD *)v5 + 2); v4[3] = *((_OWORD *)v5 + 3); v4[4] = *((_OWORD *)v5 + 4); v4[5] = *((_OWORD *)v5 + 5); v4[6] = *((_OWORD *)v5 + 6); v4 += 8; *(v4 - 1) = *((_OWORD *)v5 + 7); v5 += 128; --v6; } while ( v6 ); *v4 = *(_OWORD *)v5; v4[1] = *((_OWORD *)v5 + 1); v4[2] = *((_OWORD *)v5 + 2); v4[3] = *((_OWORD *)v5 + 3); v4[4] = *((_OWORD *)v5 + 4); *((_BYTE *)v3 + 464) = 0; v7 = sub_14003BDB0((__int64)v12, (__int64)&v9); v8 = FLAlertLayer::create(v2, (int)"Upload Guidelines", v7, (__int64)"OK", 0, 1136525312, 0, 0, 1065353216); sub_14003A830((__int64)&v9); v8->show(v8); }