{"type": "func", "start": 4297147888, "end": 4297148012, "name": "ExplodeItemSprite::create", "pseudocode": "// \n// ExplodeItemSprite::create from 0x1002145f0 to 0x10021466c (124 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nExplodeItemSprite *__fastcall ExplodeItemSprite::create()\n{\n  char *v0; // rbx\n\n  v0 = (char *)operator new(0x270u);\n  cocos2d::CCSprite::CCSprite(v0);\n  *(_QWORD *)v0 = off_1008DD170;\n  *((_QWORD *)v0 + 40) = off_1008DD648;\n  *((_QWORD *)v0 + 43) = off_1008DD6C8;\n  *(_OWORD *)(v0 + 596) = 0;\n  *((_OWORD *)v0 + 38) = 0;\n  if ( cocos2d::CCSprite::init((cocos2d::CCSprite *)v0) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);\n    return nullptr;\n  }\n  return (ExplodeItemSprite *)v0;\n}", "assembly": "; \n; ExplodeItemSprite::create from 0x1002145f0 to 0x10021466c (124 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x1002145f0\nmov     rbp, rsp                                                       ; +0x1, 0x1002145f1\npush    r14                                                            ; +0x4, 0x1002145f4\npush    rbx                                                            ; +0x6, 0x1002145f6\nmov     edi, 270h; __sz                                                ; +0x7, 0x1002145f7\ncall    __Znwm; operator new(ulong)                                    ; +0xc, 0x1002145fc\nmov     rbx, rax                                                       ; +0x11, 0x100214601\nmov     rdi, rax                                                       ; +0x14, 0x100214604\ncall    cocos2d__CCSprite__CCSprite                                    ; +0x17, 0x100214607\nlea     rax, off_1008DD170                                             ; +0x1c, 0x10021460c\nmov     [rbx], rax                                                     ; +0x23, 0x100214613\nlea     rax, off_1008DD648                                             ; +0x26, 0x100214616\nmov     [rbx+140h], rax                                                ; +0x2d, 0x10021461d\nlea     rax, off_1008DD6C8                                             ; +0x34, 0x100214624\nmov     [rbx+158h], rax                                                ; +0x3b, 0x10021462b\nxorps   xmm0, xmm0                                                     ; +0x42, 0x100214632\nmovups  xmmword ptr [rbx+254h], xmm0                                   ; +0x45, 0x100214635\nmovups  xmmword ptr [rbx+260h], xmm0                                   ; +0x4c, 0x10021463c\nmov     rdi, rbx                                                       ; +0x53, 0x100214643\ncall    cocos2d__CCSprite__init                                        ; +0x56, 0x100214646\ntest    al, al                                                         ; +0x5b, 0x10021464b\njz      short loc_100214659                                            ; +0x5d, 0x10021464d\nmov     rdi, rbx                                                       ; +0x5f, 0x10021464f\ncall    cocos2d__CCObject__autorelease                                 ; +0x62, 0x100214652\njmp     short loc_100214664                                            ; +0x67, 0x100214657\nmov     rax, [rbx]                                                     ; +0x69, 0x100214659\nmov     rdi, rbx                                                       ; +0x6c, 0x10021465c\ncall    qword ptr [rax+10h]                                            ; +0x6f, 0x10021465f\nxor     ebx, ebx                                                       ; +0x72, 0x100214662\nmov     rax, rbx                                                       ; +0x74, 0x100214664\npop     rbx                                                            ; +0x77, 0x100214667\npop     r14                                                            ; +0x78, 0x100214668\npop     rbp                                                            ; +0x7a, 0x10021466a\nretn                                                                   ; +0x7b, 0x10021466b", "xrefs": [], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}