{"type": "func", "start": 5369150560, "end": 5369150806, "name": "LoadingCircleSprite::create", "pseudocode": "// \n// LoadingCircleSprite::create from 0x14006bc60 to 0x14006bd56 (246 bytes)\n// \n// 6 xrefs:\n// > AudioAssetsBrowser::init @ 0x140083c6b\n// > MusicBrowser::init @ 0x14033939b\n// > SecretLayer5::init @ 0x1403f4c2e\n// > SFXBrowser::init @ 0x14047f4b7\n// > <???> @ 0x1406c6024\n// > <???> @ 0x1406c6030\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\n// Hidden C++ exception states: #wind=1\nLoadingCircleSprite *LoadingCircleSprite::create(float a1)\n{\n  float v1; // xmm3_4\n  LoadingCircleSprite *v2; // rbx\n  struct cocos2d::CCRotateBy *v3; // rax\n  struct cocos2d::CCRepeatForever *v4; // rax\n  cocos2d::ccColor3B *v5; // r8\n  float v7; // [rsp+20h] [rbp-18h]\n\n  v2 = (LoadingCircleSprite *)operator new(0x258u);\n  cocos2d::CCSprite::CCSprite(v2);\n  v2->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (LoadingCircleSprite_vtbl *)&LoadingCircleSprite::`vftable';\n  v2->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&LoadingCircleSprite::`vftable';\n  v2->cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&LoadingCircleSprite::`vftable';\n  if ( cocos2d::CCSprite::initWithFile(v2, \"loadingCircle.png\") )\n  {\n    ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v2->setBlendFunc)(\n      &v2->cocos2d::CCTextureProtocol,\n      0x100000302LL);\n    v3 = cocos2d::CCRotateBy::create(1.0, a1 * 360.0);\n    v4 = cocos2d::CCRepeatForever::create(v3);\n    cocos2d::CCNode::runAction((CCLightFlash *)v2, (cocos2d::CCPoint)v4, v5, v1, v7);\n    cocos2d::CCObject::autorelease(v2);\n    return v2;\n  }\n  else\n  {\n    ((void (__fastcall *)(LoadingCircleSprite *, __int64))v2->~LoadingCircleSprite)(v2, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; LoadingCircleSprite::create from 0x14006bc60 to 0x14006bd56 (246 bytes)\n; \n; 6 xrefs:\n; > AudioAssetsBrowser::init @ 0x140083c6b\n; > MusicBrowser::init @ 0x14033939b\n; > SecretLayer5::init @ 0x1403f4c2e\n; > SFXBrowser::init @ 0x14047f4b7\n; > <???> @ 0x1406c6024\n; > <???> @ 0x1406c6030\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14006bc60\npush    rdi                                                            ; +0x5, 0x14006bc65\nsub     rsp, 30h                                                       ; +0x6, 0x14006bc66\nmovaps  xmmword ptr [rsp+38h+var_18], xmm6                             ; +0xa, 0x14006bc6a\nmovaps  xmm6, xmm0                                                     ; +0xf, 0x14006bc6f\nmov     ecx, 258h; Size                                                ; +0x12, 0x14006bc72\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x17, 0x14006bc77\nmov     rbx, rax                                                       ; +0x1c, 0x14006bc7c\nmov     [rsp+38h+arg_8], rax                                           ; +0x1f, 0x14006bc7f\nmov     rcx, rax                                                       ; +0x24, 0x14006bc84\ncall    cs:??0CCSprite@cocos2d@@QEAA@XZ; cocos2d::CCSprite::CCSprite(void) ; +0x27, 0x14006bc87\nlea     rax, ??_7LoadingCircleSprite@@6B@; const LoadingCircleSprite::`vftable' ; +0x2d, 0x14006bc8d\nmov     [rbx], rax                                                     ; +0x34, 0x14006bc94\nlea     rax, ??_7LoadingCircleSprite@@6B@_0; const LoadingCircleSprite::`vftable' ; +0x37, 0x14006bc97\nmov     [rbx+140h], rax                                                ; +0x3e, 0x14006bc9e\nlea     rax, ??_7LoadingCircleSprite@@6B@_1; const LoadingCircleSprite::`vftable' ; +0x45, 0x14006bca5\nmov     [rbx+158h], rax                                                ; +0x4c, 0x14006bcac\nlea     rdx, aLoadingcircleP; \"loadingCircle.png\"                      ; +0x53, 0x14006bcb3\nmov     rcx, rbx                                                       ; +0x5a, 0x14006bcba\ncall    cs:__imp_?initWithFile@CCSprite@cocos2d@@UEAA_NPEBD@Z; cocos2d::CCSprite::initWithFile(char const *) ; +0x5d, 0x14006bcbd\ntest    al, al                                                         ; +0x63, 0x14006bcc3\njz      short loc_14006BD36                                            ; +0x65, 0x14006bcc5\nmov     dword ptr [rsp+38h+arg_8], 302h                                ; +0x67, 0x14006bcc7\nmov     dword ptr [rsp+38h+arg_8+4], 1                                 ; +0x6f, 0x14006bccf\nmov     rax, [rbx+158h]                                                ; +0x77, 0x14006bcd7\nmov     rdx, [rsp+38h+arg_8]                                           ; +0x7e, 0x14006bcde\nlea     rcx, [rbx+158h]                                                ; +0x83, 0x14006bce3\ncall    qword ptr [rax]                                                ; +0x8a, 0x14006bcea\nmulss   xmm6, cs:flt_14062346C                                         ; +0x8c, 0x14006bcec\nmovaps  xmm1, xmm6                                                     ; +0x94, 0x14006bcf4\nmovss   xmm0, cs:flt_140622C24                                         ; +0x97, 0x14006bcf7\ncall    cs:?create@CCRotateBy@cocos2d@@SAPEAV12@MM@Z; cocos2d::CCRotateBy::create(float,float) ; +0x9f, 0x14006bcff\nmov     rcx, rax                                                       ; +0xa5, 0x14006bd05\ncall    cs:?create@CCRepeatForever@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@@Z; cocos2d::CCRepeatForever::create(cocos2d::CCActionInterval *) ; +0xa8, 0x14006bd08\nmov     rdx, rax                                                       ; +0xae, 0x14006bd0e\nmov     rcx, rbx                                                       ; +0xb1, 0x14006bd11\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0xb4, 0x14006bd14\nmov     rcx, rbx                                                       ; +0xba, 0x14006bd1a\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xbd, 0x14006bd1d\nmov     rax, rbx                                                       ; +0xc3, 0x14006bd23\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xc6, 0x14006bd26\nmovaps  xmm6, xmmword ptr [rsp+38h+var_18]                             ; +0xcb, 0x14006bd2b\nadd     rsp, 30h                                                       ; +0xd0, 0x14006bd30\npop     rdi                                                            ; +0xd4, 0x14006bd34\nretn                                                                   ; +0xd5, 0x14006bd35\nmov     rax, [rbx]                                                     ; +0xd6, 0x14006bd36\nmov     edx, 1                                                         ; +0xd9, 0x14006bd39\nmov     rcx, rbx                                                       ; +0xde, 0x14006bd3e\ncall    qword ptr [rax+8]                                              ; +0xe1, 0x14006bd41\nxor     eax, eax                                                       ; +0xe4, 0x14006bd44\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xe6, 0x14006bd46\nmovaps  xmm6, xmmword ptr [rsp+38h+var_18]                             ; +0xeb, 0x14006bd4b\nadd     rsp, 30h                                                       ; +0xf0, 0x14006bd50\npop     rdi                                                            ; +0xf4, 0x14006bd54\nretn                                                                   ; +0xf5, 0x14006bd55", "xrefs": ["AudioAssetsBrowser::init @ 0x140083c6b", "MusicBrowser::init @ 0x14033939b", "SecretLayer5::init @ 0x1403f4c2e", "SFXBrowser::init @ 0x14047f4b7", "<???> @ 0x1406c6024", "<???> @ 0x1406c6030"], "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"}