// // cocos2d::extension::CCScale9Sprite::setCapInsets from 0x18000fd40 to 0x18000fdd5 (149 bytes) // // 5 xrefs: // > @ 0x1800278d0 // > @ 0x18002e448 // > @ 0x18002e458 // > @ 0x18002fdf8 // > @ 0x180049fd8 // // 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 // void __fastcall cocos2d::extension::CCScale9Sprite::setCapInsets(__int64 *a1, const struct cocos2d::CCRect *a2) { __int64 v4; // rdi __int64 v5; // rax __int64 v6; // rbx __int64 v7; // rax _BYTE v8[16]; // [rsp+30h] [rbp-28h] BYREF _BYTE v9[24]; // [rsp+40h] [rbp-18h] BYREF char v10; // [rsp+60h] [rbp+8h] BYREF if ( a1[55] ) { cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v10, (const struct cocos2d::CCSize *)((char *)a1 + 108)); v4 = *a1; cocos2d::CCRect::CCRect((cocos2d::CCRect *)v8, a2); v6 = v5; cocos2d::CCRect::CCRect((cocos2d::CCRect *)v9, (const struct cocos2d::CCRect *)((char *)a1 + 396)); (*(void (__fastcall **)(__int64 *, __int64, __int64, _QWORD, __int64))(v4 + 1048))( a1, a1[55], v7, *((unsigned __int8 *)a1 + 412), v6); (*(void (__fastcall **)(__int64 *, char *))(*a1 + 296))(a1, &v10); } }