// // GJGradientLayer::create from 0x1001393e0 to 0x10013954e (366 bytes) // // 1 xrefs: // > GJBaseGameLayer::triggerGradientCommand @ 0x100138f75 // // 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 // GJGradientLayer *__fastcall GJGradientLayer::create() { char *v0; // rbx v0 = (char *)operator new(0x260u); cocos2d::CCLayerColor::CCLayerColor(v0); *(_QWORD *)v0 = off_10094A500; *((_QWORD *)v0 + 40) = off_10094AA88; *((_QWORD *)v0 + 41) = &off_10094AAF8; *((_QWORD *)v0 + 42) = off_10094AB10; *((_QWORD *)v0 + 43) = off_10094AB30; *((_QWORD *)v0 + 44) = off_10094AB50; *((_QWORD *)v0 + 51) = off_10094AB78; *((_QWORD *)v0 + 54) = off_10094ABF8; sub_10028CC30(v0 + 552); *(_QWORD *)v0 = off_1008C20E0; *((_QWORD *)v0 + 40) = off_1008C2668; *((_QWORD *)v0 + 41) = &off_1008C26D8; *((_QWORD *)v0 + 42) = off_1008C26F0; *((_QWORD *)v0 + 43) = off_1008C2710; *((_QWORD *)v0 + 44) = off_1008C2730; *((_QWORD *)v0 + 51) = off_1008C2758; *((_QWORD *)v0 + 54) = off_1008C27D8; *(_QWORD *)(v0 + 564) = 0; sub_10028CC30(v0 + 572); *((_QWORD *)v0 + 73) = 0; v0[592] = 0; *(_QWORD *)(v0 + 596) = 0; *((_DWORD *)v0 + 151) = 0; if ( (*(unsigned __int8 (__fastcall **)(char *))(*(_QWORD *)v0 + 80LL))(v0) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0); return nullptr; } return (GJGradientLayer *)v0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source