// // sub_1003C53C0 from 0x1003c53c0 to 0x1003c55af (495 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:29:34 +0000 // char *__fastcall sub_1003C53C0(__int64 a1, __int64 a2, unsigned __int8 a3) { char *v4; // rbx v4 = (char *)operator new(0x2E0u); cocos2d::CCLayerColor::CCLayerColor(v4); *(_QWORD *)v4 = off_100B4FB70; *((_QWORD *)v4 + 40) = off_100B500C0; *((_QWORD *)v4 + 41) = &off_100B50130; *((_QWORD *)v4 + 42) = off_100B50148; *((_QWORD *)v4 + 43) = off_100B50168; *((_QWORD *)v4 + 44) = off_100B50190; *((_QWORD *)v4 + 51) = off_100B501C0; *((_QWORD *)v4 + 54) = off_100B50240; *((_QWORD *)v4 + 68) = off_100B50260; *(_OWORD *)(v4 + 552) = 0; *(_OWORD *)(v4 + 561) = 0; *(_OWORD *)(v4 + 584) = 0; sub_1002782A0((_QWORD *)v4 + 75); *((_OWORD *)v4 + 38) = 0; *((_QWORD *)v4 + 78) = 0; *((_DWORD *)v4 + 158) = -1; *((_WORD *)v4 + 318) = 0; *((_DWORD *)v4 + 160) = -1; v4[644] = 0; *((_QWORD *)v4 + 81) = 0; v4[656] = 0; *(_QWORD *)v4 = off_100B39ED8; *((_QWORD *)v4 + 40) = off_100B3A438; *((_QWORD *)v4 + 41) = &off_100B3A4A8; *((_QWORD *)v4 + 42) = off_100B3A4C0; *((_QWORD *)v4 + 43) = off_100B3A4E0; *((_QWORD *)v4 + 44) = off_100B3A508; *((_QWORD *)v4 + 51) = off_100B3A538; *((_QWORD *)v4 + 54) = off_100B3A5B8; *((_QWORD *)v4 + 68) = off_100B3A5D8; *(_OWORD *)(v4 + 664) = 0; *((_DWORD *)v4 + 174) = 1065353216; v4[700] = 0; *(_OWORD *)(v4 + 717) = 0; *((_OWORD *)v4 + 44) = 0; if ( (unsigned __int8)SetupGravityModPopup::init(v4, a1, a2, a3) ) { cocos2d::CCObject::autorelease(v4); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4); return nullptr; } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source