// // cocos2d::extension::CCScale9Sprite::setCapInsets from 0x18000f830 to 0x18000f8e0 (176 bytes) // // 5 xrefs: // > @ 0x180029f28 // > @ 0x180030930 // > @ 0x180030940 // > @ 0x180032408 // > @ 0x18004beb8 // // 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:15:39 +0000 // _UNKNOWN **__fastcall cocos2d::extension::CCScale9Sprite::setCapInsets(__int64 *a1, const struct cocos2d::CCRect *a2) { _UNKNOWN **result; // rax __int64 v5; // rdi unsigned __int8 v6; // si __int64 v7; // rbp __int64 v8; // rax __int64 v9; // rbx __int64 v10; // rax _BYTE v11[16]; // [rsp+30h] [rbp-38h] BYREF _BYTE v12[16]; // [rsp+40h] [rbp-28h] BYREF _UNKNOWN *retaddr; // [rsp+68h] [rbp+0h] BYREF char v14; // [rsp+70h] [rbp+8h] BYREF result = &retaddr; if ( a1[55] ) { cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v14, (const struct cocos2d::CCSize *)((char *)a1 + 108)); v5 = *a1; v6 = *((_BYTE *)a1 + 412); v7 = a1[55]; cocos2d::CCRect::CCRect((cocos2d::CCRect *)v11, a2); v9 = v8; cocos2d::CCRect::CCRect((cocos2d::CCRect *)v12, (const struct cocos2d::CCRect *)((char *)a1 + 396)); (*(void (__fastcall **)(__int64 *, __int64, __int64, _QWORD, __int64))(v5 + 1064))(a1, v7, v10, v6, v9); return (_UNKNOWN **)(*(__int64 (__fastcall **)(__int64 *, char *))(*a1 + 312))(a1, &v14); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source