{"type": "func", "start": 4303928560, "end": 4303928757, "name": "CurrencySprite::createWithSprite", "pseudocode": "// \n// CurrencySprite::createWithSprite from 0x10088bcf0 to 0x10088bdb5 (197 bytes)\n// \n// 1 xrefs:\n// > CurrencyRewardLayer::createObjectsFull @ 0x10088b5c3\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:37:02 +0000\n// \n\nchar *__fastcall CurrencySprite::createWithSprite(__int64 a1)\n{\n  char *v1; // rbx\n\n  v1 = (char *)operator new(0x2A0u);\n  cocos2d::CCSprite::CCSprite((__int64)v1);\n  *(_OWORD *)(v1 + 600) = 0;\n  *(_DWORD *)(v1 + 615) = 0;\n  *(_QWORD *)v1 = off_100BA6D40;\n  *((_QWORD *)v1 + 40) = off_100BA7238;\n  *((_QWORD *)v1 + 43) = off_100BA72B8;\n  *(_OWORD *)(v1 + 620) = 0;\n  *((_DWORD *)v1 + 159) = 1;\n  *((_QWORD *)v1 + 80) = 0;\n  *((_DWORD *)v1 + 162) = 1;\n  sub_1002782A0(v1 + 652);\n  *((_QWORD *)v1 + 83) = 0;\n  if ( (unsigned __int8)CurrencySprite::initWithSprite(v1, a1) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v1);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1);\n    return nullptr;\n  }\n  return v1;\n}", "assembly": "; \n; CurrencySprite::createWithSprite from 0x10088bcf0 to 0x10088bdb5 (197 bytes)\n; \n; 1 xrefs:\n; > CurrencyRewardLayer::createObjectsFull @ 0x10088b5c3\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:37:02 +0000\n; \npush    rbp                                                            ; +0x0, 0x10088bcf0\nmov     rbp, rsp                                                       ; +0x1, 0x10088bcf1\npush    r14                                                            ; +0x4, 0x10088bcf4\npush    rbx                                                            ; +0x6, 0x10088bcf6\nmov     r14, rdi                                                       ; +0x7, 0x10088bcf7\nmov     edi, 2A0h; __sz                                                ; +0xa, 0x10088bcfa\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x10088bcff\nmov     rbx, rax                                                       ; +0x14, 0x10088bd04\nmov     rdi, rax                                                       ; +0x17, 0x10088bd07\ncall    cocos2d__CCSprite__CCSprite                                    ; +0x1a, 0x10088bd0a\nxorps   xmm0, xmm0                                                     ; +0x1f, 0x10088bd0f\nmovups  xmmword ptr [rbx+258h], xmm0                                   ; +0x22, 0x10088bd12\nmov     dword ptr [rbx+267h], 0                                        ; +0x29, 0x10088bd19\nlea     rax, off_100BA6D40                                             ; +0x33, 0x10088bd23\nmov     [rbx], rax                                                     ; +0x3a, 0x10088bd2a\nlea     rax, off_100BA7238                                             ; +0x3d, 0x10088bd2d\nmov     [rbx+140h], rax                                                ; +0x44, 0x10088bd34\nlea     rax, off_100BA72B8                                             ; +0x4b, 0x10088bd3b\nmov     [rbx+158h], rax                                                ; +0x52, 0x10088bd42\nmovups  xmmword ptr [rbx+26Ch], xmm0                                   ; +0x59, 0x10088bd49\nmov     dword ptr [rbx+27Ch], 1                                        ; +0x60, 0x10088bd50\nmov     qword ptr [rbx+280h], 0                                        ; +0x6a, 0x10088bd5a\nmov     dword ptr [rbx+288h], 1                                        ; +0x75, 0x10088bd65\nmov     rdi, rbx                                                       ; +0x7f, 0x10088bd6f\nadd     rdi, 28Ch                                                      ; +0x82, 0x10088bd72\ncall    sub_1002782A0                                                  ; +0x89, 0x10088bd79\nmov     qword ptr [rbx+298h], 0                                        ; +0x8e, 0x10088bd7e\nmov     rdi, rbx                                                       ; +0x99, 0x10088bd89\nmov     rsi, r14                                                       ; +0x9c, 0x10088bd8c\ncall    CurrencySprite__initWithSprite                                 ; +0x9f, 0x10088bd8f\ntest    al, al                                                         ; +0xa4, 0x10088bd94\njz      short loc_10088BDA2                                            ; +0xa6, 0x10088bd96\nmov     rdi, rbx                                                       ; +0xa8, 0x10088bd98\ncall    cocos2d__CCObject__autorelease                                 ; +0xab, 0x10088bd9b\njmp     short loc_10088BDAD                                            ; +0xb0, 0x10088bda0\nmov     rax, [rbx]                                                     ; +0xb2, 0x10088bda2\nmov     rdi, rbx                                                       ; +0xb5, 0x10088bda5\ncall    qword ptr [rax+10h]                                            ; +0xb8, 0x10088bda8\nxor     ebx, ebx                                                       ; +0xbb, 0x10088bdab\nmov     rax, rbx                                                       ; +0xbd, 0x10088bdad\npop     rbx                                                            ; +0xc0, 0x10088bdb0\npop     r14                                                            ; +0xc1, 0x10088bdb1\npop     rbp                                                            ; +0xc3, 0x10088bdb3\nretn                                                                   ; +0xc4, 0x10088bdb4", "xrefs": ["CurrencyRewardLayer::createObjectsFull @ 0x10088b5c3"], "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"}