// // sub_100904510 from 0x100904510 to 0x10090458d (125 bytes) // // 0 xrefs: // // 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:38:04 +0000 // __int64 __fastcall sub_100904510(__int64 a1, __int64 a2, double a3) { unsigned int v3; // r14d char *v4; // rax __int64 CString; // rax if ( a2 ) { v3 = 0; v4 = sub_10088E820("particle_%02d_001.png", *(_DWORD *)(a2 + 8)); CString = cocos2d::CCString::getCString((__int64)v4); if ( (unsigned __int8)cocos2d::CCSprite::initWithSpriteFrameName(a1, CString, a3) ) { *(_QWORD *)(a1 + 600) = a2; cocos2d::CCSprite::setColor(a1, a2 + 24); LOBYTE(v3) = 1; if ( *(_BYTE *)(a2 + 40) == 1 ) cocos2d::CCSprite::setFlipX((unsigned __int8 *)a1, 1u); } } else { return 0; } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source