// // cocos2d::extension::CCScale9Sprite::initWithBatchNode from 0x18000dc20 to 0x18000dce2 (194 bytes) // // 5 xrefs: // > @ 0x180027920 // > @ 0x18002e18c // > @ 0x18002e19c // > @ 0x18002fdf8 // > @ 0x180049e7c // // 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 // char __fastcall cocos2d::extension::CCScale9Sprite::initWithBatchNode( __int64 *a1, __int64 a2, const struct cocos2d::CCRect *a3, unsigned __int8 a4, const struct cocos2d::CCRect *a5) { __int64 v9; // rdi __int64 v10; // rbx __int64 v11; // rax __int64 v12; // rbx __int64 v13; // rax __int64 v15; // [rsp+30h] [rbp-38h] BYREF _BYTE v16[40]; // [rsp+40h] [rbp-28h] BYREF char v17; // [rsp+70h] [rbp+8h] BYREF if ( a2 ) { v9 = *a1; v10 = cocos2d::CCRect::CCRect((cocos2d::CCRect *)&v15, a5); v11 = cocos2d::CCRect::CCRect((cocos2d::CCRect *)v16, a3); (*(void (__fastcall **)(__int64 *, __int64, __int64, _QWORD, __int64))(v9 + 1048))(a1, a2, v11, a4, v10); v12 = *a1; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v17, 0.5, 0.5); (*(void (__fastcall **)(__int64 *, __int64))(v12 + 272))(a1, v13); *((_BYTE *)a1 + 432) = 1; } else { *((_BYTE *)a1 + 432) = 1; } return 1; }