{"type": "func", "start": 4299647904, "end": 4299648022, "name": "CCSpriteCOpacity::createWithSpriteFrame", "pseudocode": "// \n// CCSpriteCOpacity::createWithSpriteFrame from 0x100476ba0 to 0x100476c16 (118 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:30:35 +0000\n// \n\n__int64 (__fastcall ***__fastcall CCSpriteCOpacity::createWithSpriteFrame(__int64 a1))()\n{\n  __int64 (__fastcall ***v1)(); // rbx\n  __int64 (__fastcall **v2)(); // rax\n\n  v1 = (__int64 (__fastcall ***)())operator new(0x258u);\n  cocos2d::CCSprite::CCSprite((__int64)v1);\n  v2 = off_100B46DA0;\n  *v1 = off_100B46DA0;\n  v1[40] = off_100B47288;\n  v1[43] = off_100B47308;\n  if ( !a1 )\n    goto LABEL_5;\n  if ( !(unsigned __int8)cocos2d::CCSprite::initWithSpriteFrame((__int64)v1, a1) )\n  {\n    v2 = *v1;\nLABEL_5:\n    ((void (__fastcall *)(__int64 (__fastcall ***)()))v2[2])(v1);\n    return nullptr;\n  }\n  cocos2d::CCObject::autorelease(v1);\n  return v1;\n}", "assembly": "; \n; CCSpriteCOpacity::createWithSpriteFrame from 0x100476ba0 to 0x100476c16 (118 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:30:35 +0000\n; \npush    rbp                                                            ; +0x0, 0x100476ba0\nmov     rbp, rsp                                                       ; +0x1, 0x100476ba1\npush    r14                                                            ; +0x4, 0x100476ba4\npush    rbx                                                            ; +0x6, 0x100476ba6\nmov     r14, rdi                                                       ; +0x7, 0x100476ba7\nmov     edi, 258h; __sz                                                ; +0xa, 0x100476baa\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x100476baf\nmov     rbx, rax                                                       ; +0x14, 0x100476bb4\nmov     rdi, rax                                                       ; +0x17, 0x100476bb7\ncall    cocos2d__CCSprite__CCSprite                                    ; +0x1a, 0x100476bba\nlea     rax, off_100B46DA0                                             ; +0x1f, 0x100476bbf\nmov     [rbx], rax                                                     ; +0x26, 0x100476bc6\nlea     rcx, off_100B47288                                             ; +0x29, 0x100476bc9\nmov     [rbx+140h], rcx                                                ; +0x30, 0x100476bd0\nlea     rcx, off_100B47308                                             ; +0x37, 0x100476bd7\nmov     [rbx+158h], rcx                                                ; +0x3e, 0x100476bde\ntest    r14, r14                                                       ; +0x45, 0x100476be5\njz      short loc_100476C06                                            ; +0x48, 0x100476be8\nmov     rdi, rbx                                                       ; +0x4a, 0x100476bea\nmov     rsi, r14                                                       ; +0x4d, 0x100476bed\ncall    cocos2d__CCSprite__initWithSpriteFrame                         ; +0x50, 0x100476bf0\ntest    al, al                                                         ; +0x55, 0x100476bf5\njz      short loc_100476C03                                            ; +0x57, 0x100476bf7\nmov     rdi, rbx                                                       ; +0x59, 0x100476bf9\ncall    cocos2d__CCObject__autorelease                                 ; +0x5c, 0x100476bfc\njmp     short loc_100476C0E                                            ; +0x61, 0x100476c01\nmov     rax, [rbx]                                                     ; +0x63, 0x100476c03\nmov     rdi, rbx                                                       ; +0x66, 0x100476c06\ncall    qword ptr [rax+10h]                                            ; +0x69, 0x100476c09\nxor     ebx, ebx                                                       ; +0x6c, 0x100476c0c\nmov     rax, rbx                                                       ; +0x6e, 0x100476c0e\npop     rbx                                                            ; +0x71, 0x100476c11\npop     r14                                                            ; +0x72, 0x100476c12\npop     rbp                                                            ; +0x74, 0x100476c14\nretn                                                                   ; +0x75, 0x100476c15", "xrefs": [], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}