// // CCCircleAlert::create from 0x100158050 to 0x1001581d0 (384 bytes) // // 2 xrefs: // > CCAlertCircle::create @ 0x100158339 // > CCAlertCircle::init @ 0x1001583f2 // // 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 12:25:05 +0000 // char *__fastcall CCCircleAlert::create(float a1) { char *v1; // rbx __int64 v2; // r14 int v3; // r12d int v4; // eax int v5; // ecx int v6; // r8d int v7; // r9d __int64 v8; // rdi __int64 v9; // rsi int v10; // ecx int v11; // r8d int v12; // r9d __int64 v13; // r14 __int64 v14; // rax __int64 v15; // rax v1 = (char *)operator new(0x178u); __bzero(v1, 376); cocos2d::CCNode::CCNode(v1); *(_QWORD *)v1 = off_100AC68F0; *((_OWORD *)v1 + 20) = 0; *((_DWORD *)v1 + 84) = 0; sub_1002782A0(v1 + 344); *((_QWORD *)v1 + 46) = 0; *((_QWORD *)v1 + 44) = 0; *(_QWORD *)(v1 + 357) = 0; *(_QWORD *)v1 = off_100AC7040; *(_QWORD *)(v1 + 332) = LODWORD(a1); *((_WORD *)v1 + 170) = -1; v1[342] = -1; v2 = cocos2d::CCActionTween::create_1((std::string::value_type *)"radius"); v3 = cocos2d::CCActionTween::create_1((std::string::value_type *)"opacity"); v4 = cocos2d::CCActionTween::create_1((std::string::value_type *)"opacity"); v8 = v2; v9 = sub_10039EB60(v3, v4, 0, v5, v6, v7); v13 = sub_10039FF60(v2, v9, 0, v10, v11, v12); v14 = cocos2d::CCDirector::sharedDirector(v8, v9); v15 = (*(__int64 (__fastcall **)(__int64, float, float, double))(*(_QWORD *)v14 + 144LL))(v14, 0.30000001, 150.0, 0.0); cocos2d::CCActionManager::addAction(v15, v13, v1, 0); cocos2d::CCObject::autorelease(v1); return v1; }