{"type": "func", "start": 5368967616, "end": 5368967817, "name": "ButtonSprite::create_1", "pseudocode": "// \n// ButtonSprite::create_1 from 0x14003f1c0 to 0x14003f289 (201 bytes)\n// \n// 73 xrefs:\n// > FLAlertLayer::init @ 0x140052566\n// > FLAlertLayer::init @ 0x1400525e3\n// > AccountRegisterLayer::init @ 0x140078ca0\n// > AccountRegisterLayer::init @ 0x140078d01\n// > AccountLoginLayer::init @ 0x14007bbd4\n// > AccountLoginLayer::init @ 0x14007bc35\n// > AccountLayer::customSetup @ 0x14007d923\n// > AccountLayer::customSetup @ 0x14007d97f\n// > AccountLayer::customSetup @ 0x14007da79\n// > AccountLayer::customSetup @ 0x14007dad5\n// > AccountLayer::customSetup @ 0x14007db31\n// > AccountHelpLayer::customSetup @ 0x14007f7fa\n// > AccountHelpLayer::customSetup @ 0x14007f855\n// > AccountHelpLayer::customSetup @ 0x14007f8ac\n// > HSVWidgetPopup::init @ 0x1400967fe\n// > ConfigureValuePopup::init @ 0x1400988b3\n// > CreateGuidelinesLayer::init @ 0x14009a13e\n// > CreateGuidelinesLayer::init @ 0x14009a4cd\n// > CreateGuidelinesLayer::init @ 0x14009a589\n// > CustomizeObjectLayer::init @ 0x1400a574d\n// > LevelCell::loadCustomLevelCell @ 0x1400aebf9\n// > LevelCell::loadLocalLevelCell @ 0x1400b1028\n// > MapPackCell::loadFromMapPack @ 0x1400b1ed2\n// > CommentCell::loadFromComment @ 0x1400b73da\n// > LevelListCell::loadFromList @ 0x1400bf3a2\n// > EditorPauseLayer::customSetup @ 0x1400da620\n// > EditorPauseLayer::customSetup @ 0x1400da671\n// > EditorPauseLayer::customSetup @ 0x1400da6c8\n// > EditorPauseLayer::customSetup @ 0x1400da726\n// > EditorPauseLayer::customSetup @ 0x1400da78f\n// > GJFollowCommandLayer::init @ 0x140270898\n// > ItemInfoPopup::init @ 0x14027c154\n// > GJPFollowCommandLayer::init @ 0x14028a985\n// > TOSPopup::init @ 0x14029e39e\n// > GameOptionsLayer::setupOptions @ 0x14029f8ad\n// > GameOptionsLayer::setupOptions @ 0x14029f94f\n// > GJSpecialColorSelect::init @ 0x1402b8062\n// > GJRateLevelLayer::init @ 0x1402f52fa\n// > GJRateLevelLayer::init @ 0x1402f535c\n// > ShareListLayer::init @ 0x14030a2dd\n// > ShareListLayer::init @ 0x14030a357\n// > UploadListPopup::listUploadFinished @ 0x14030b820\n// > UploadListPopup::listUploadFailed @ 0x14030bb08\n// > DemonFilterSelectLayer::init @ 0x140317e4d\n// > OptionsLayer::customSetup @ 0x140371def\n// > OptionsLayer::customSetup @ 0x140371e48\n// > OptionsLayer::customSetup @ 0x140371ea1\n// > OptionsLayer::customSetup @ 0x140371efa\n// > OptionsLayer::customSetup @ 0x140371f52\n// > OptionsLayer::customSetup @ 0x140371fb1\n// > OptionsLayer::customSetup @ 0x140372017\n// > VideoOptionsLayer::init @ 0x140377a50\n// > VideoOptionsLayer::init @ 0x140377aea\n// > DemonInfoPopup::init @ 0x1403c79c6\n// > StarInfoPopup::init @ 0x1403c88ce\n// > RateDemonLayer::init @ 0x1403c8f53\n// > RateDemonLayer::init @ 0x1403c8ffa\n// > RateLevelLayer::init @ 0x1403c9ac5\n// > RateLevelLayer::init @ 0x1403c9b6c\n// > RateStarsLayer::init @ 0x1403ca6f6\n// > RateStarsLayer::init @ 0x1403ca79a\n// > SetupCameraOffsetTrigger::init @ 0x1404155f0\n// > SetupMGTrigger::init @ 0x1404273f4\n// > SetupGameplayOffsetPopup::init @ 0x140442678\n// > SetupItemEditTriggerPopup::init @ 0x14046b9c7\n// > SetupItemCompareTriggerPopup::init @ 0x14046e2b2\n// > ShareCommentLayer::init @ 0x14048da46\n// > ShareCommentLayer::init @ 0x14048daaf\n// > ShareLevelLayer::init @ 0x14048f80e\n// > ShareLevelLayer::init @ 0x14048f888\n// > UploadPopup::levelUploadFinished @ 0x140490d00\n// > UploadPopup::levelUploadFailed @ 0x140490ee1\n// > <???> @ 0x1406c4164\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\nButtonSprite *ButtonSprite::create_1(\n        const char *a1,\n        int a2,\n        int a3,\n        float a4,\n        bool a5,\n        const char *a6,\n        const char *a7,\n        float a8)\n{\n  ButtonSprite *v11; // rbx\n  ButtonSprite *v13; // [rsp+50h] [rbp-28h]\n\n  v13 = (ButtonSprite *)operator new(0x2C0u);\n  v11 = ButtonSprite::ButtonSprite(v13);\n  if ( v11 )\n  {\n    if ( ButtonSprite::init_1(v11, a1, a2, a3, a4, a5, a6, a7, a8) )\n    {\n      cocos2d::CCObject::autorelease(v11);\n    }\n    else\n    {\n      ((void (__fastcall *)(ButtonSprite *, __int64))v11->~ButtonSprite)(v11, 1);\n      return nullptr;\n    }\n  }\n  return v11;\n}", "assembly": "; \n; ButtonSprite::create_1 from 0x14003f1c0 to 0x14003f289 (201 bytes)\n; \n; 73 xrefs:\n; > FLAlertLayer::init @ 0x140052566\n; > FLAlertLayer::init @ 0x1400525e3\n; > AccountRegisterLayer::init @ 0x140078ca0\n; > AccountRegisterLayer::init @ 0x140078d01\n; > AccountLoginLayer::init @ 0x14007bbd4\n; > AccountLoginLayer::init @ 0x14007bc35\n; > AccountLayer::customSetup @ 0x14007d923\n; > AccountLayer::customSetup @ 0x14007d97f\n; > AccountLayer::customSetup @ 0x14007da79\n; > AccountLayer::customSetup @ 0x14007dad5\n; > AccountLayer::customSetup @ 0x14007db31\n; > AccountHelpLayer::customSetup @ 0x14007f7fa\n; > AccountHelpLayer::customSetup @ 0x14007f855\n; > AccountHelpLayer::customSetup @ 0x14007f8ac\n; > HSVWidgetPopup::init @ 0x1400967fe\n; > ConfigureValuePopup::init @ 0x1400988b3\n; > CreateGuidelinesLayer::init @ 0x14009a13e\n; > CreateGuidelinesLayer::init @ 0x14009a4cd\n; > CreateGuidelinesLayer::init @ 0x14009a589\n; > CustomizeObjectLayer::init @ 0x1400a574d\n; > LevelCell::loadCustomLevelCell @ 0x1400aebf9\n; > LevelCell::loadLocalLevelCell @ 0x1400b1028\n; > MapPackCell::loadFromMapPack @ 0x1400b1ed2\n; > CommentCell::loadFromComment @ 0x1400b73da\n; > LevelListCell::loadFromList @ 0x1400bf3a2\n; > EditorPauseLayer::customSetup @ 0x1400da620\n; > EditorPauseLayer::customSetup @ 0x1400da671\n; > EditorPauseLayer::customSetup @ 0x1400da6c8\n; > EditorPauseLayer::customSetup @ 0x1400da726\n; > EditorPauseLayer::customSetup @ 0x1400da78f\n; > GJFollowCommandLayer::init @ 0x140270898\n; > ItemInfoPopup::init @ 0x14027c154\n; > GJPFollowCommandLayer::init @ 0x14028a985\n; > TOSPopup::init @ 0x14029e39e\n; > GameOptionsLayer::setupOptions @ 0x14029f8ad\n; > GameOptionsLayer::setupOptions @ 0x14029f94f\n; > GJSpecialColorSelect::init @ 0x1402b8062\n; > GJRateLevelLayer::init @ 0x1402f52fa\n; > GJRateLevelLayer::init @ 0x1402f535c\n; > ShareListLayer::init @ 0x14030a2dd\n; > ShareListLayer::init @ 0x14030a357\n; > UploadListPopup::listUploadFinished @ 0x14030b820\n; > UploadListPopup::listUploadFailed @ 0x14030bb08\n; > DemonFilterSelectLayer::init @ 0x140317e4d\n; > OptionsLayer::customSetup @ 0x140371def\n; > OptionsLayer::customSetup @ 0x140371e48\n; > OptionsLayer::customSetup @ 0x140371ea1\n; > OptionsLayer::customSetup @ 0x140371efa\n; > OptionsLayer::customSetup @ 0x140371f52\n; > OptionsLayer::customSetup @ 0x140371fb1\n; > OptionsLayer::customSetup @ 0x140372017\n; > VideoOptionsLayer::init @ 0x140377a50\n; > VideoOptionsLayer::init @ 0x140377aea\n; > DemonInfoPopup::init @ 0x1403c79c6\n; > StarInfoPopup::init @ 0x1403c88ce\n; > RateDemonLayer::init @ 0x1403c8f53\n; > RateDemonLayer::init @ 0x1403c8ffa\n; > RateLevelLayer::init @ 0x1403c9ac5\n; > RateLevelLayer::init @ 0x1403c9b6c\n; > RateStarsLayer::init @ 0x1403ca6f6\n; > RateStarsLayer::init @ 0x1403ca79a\n; > SetupCameraOffsetTrigger::init @ 0x1404155f0\n; > SetupMGTrigger::init @ 0x1404273f4\n; > SetupGameplayOffsetPopup::init @ 0x140442678\n; > SetupItemEditTriggerPopup::init @ 0x14046b9c7\n; > SetupItemCompareTriggerPopup::init @ 0x14046e2b2\n; > ShareCommentLayer::init @ 0x14048da46\n; > ShareCommentLayer::init @ 0x14048daaf\n; > ShareLevelLayer::init @ 0x14048f80e\n; > ShareLevelLayer::init @ 0x14048f888\n; > UploadPopup::levelUploadFinished @ 0x140490d00\n; > UploadPopup::levelUploadFailed @ 0x140490ee1\n; > <???> @ 0x1406c4164\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, 0x14003f1c0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x14003f1c5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x14003f1ca\npush    rdi                                                            ; +0xf, 0x14003f1cf\nsub     rsp, 70h                                                       ; +0x10, 0x14003f1d0\nmovaps  [rsp+78h+var_18], xmm6                                         ; +0x14, 0x14003f1d4\nmovaps  xmm6, xmm3                                                     ; +0x19, 0x14003f1d9\nmov     edi, r8d                                                       ; +0x1c, 0x14003f1dc\nmov     esi, edx                                                       ; +0x1f, 0x14003f1df\nmov     rbp, rcx                                                       ; +0x21, 0x14003f1e1\nmov     ecx, 2C0h; Size                                                ; +0x24, 0x14003f1e4\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x29, 0x14003f1e9\nmov     [rsp+78h+var_28], rax                                          ; +0x2e, 0x14003f1ee\nmov     rcx, rax                                                       ; +0x33, 0x14003f1f3\ncall    ButtonSprite__ButtonSprite                                     ; +0x36, 0x14003f1f6\nmov     rbx, rax                                                       ; +0x3b, 0x14003f1fb\ntest    rax, rax                                                       ; +0x3e, 0x14003f1fe\njz      short loc_14003F26B                                            ; +0x41, 0x14003f201\nmovss   xmm0, [rsp+78h+arg_38]                                         ; +0x43, 0x14003f203\nmovss   [rsp+78h+var_38], xmm0                                         ; +0x4c, 0x14003f20c\nmov     rax, [rsp+78h+arg_30]                                          ; +0x52, 0x14003f212\nmov     [rsp+78h+var_40], rax                                          ; +0x5a, 0x14003f21a\nmov     rax, [rsp+78h+arg_28]                                          ; +0x5f, 0x14003f21f\nmov     [rsp+78h+var_48], rax                                          ; +0x67, 0x14003f227\nmovzx   ecx, [rsp+78h+arg_20]                                          ; +0x6c, 0x14003f22c\nmov     [rsp+78h+var_50], cl                                           ; +0x74, 0x14003f234\nmovss   [rsp+78h+var_58], xmm6                                         ; +0x78, 0x14003f238\nmov     r9d, edi                                                       ; +0x7e, 0x14003f23e\nmov     r8d, esi                                                       ; +0x81, 0x14003f241\nmov     rdx, rbp                                                       ; +0x84, 0x14003f244\nmov     rcx, rbx                                                       ; +0x87, 0x14003f247\ncall    ButtonSprite__init_1                                           ; +0x8a, 0x14003f24a\nmov     rcx, rbx                                                       ; +0x8f, 0x14003f24f\ntest    al, al                                                         ; +0x92, 0x14003f252\njz      short loc_14003F25E                                            ; +0x94, 0x14003f254\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x96, 0x14003f256\njmp     short loc_14003F26B                                            ; +0x9c, 0x14003f25c\nmov     rax, [rbx]                                                     ; +0x9e, 0x14003f25e\nmov     edx, 1                                                         ; +0xa1, 0x14003f261\ncall    qword ptr [rax+8]                                              ; +0xa6, 0x14003f266\nxor     ebx, ebx                                                       ; +0xa9, 0x14003f269\nmov     rax, rbx                                                       ; +0xab, 0x14003f26b\nlea     r11, [rsp+78h+var_8]                                           ; +0xae, 0x14003f26e\nmov     rbx, [r11+10h]                                                 ; +0xb3, 0x14003f273\nmov     rbp, [r11+18h]                                                 ; +0xb7, 0x14003f277\nmov     rsi, [r11+20h]                                                 ; +0xbb, 0x14003f27b\nmovaps  xmm6, [rsp+78h+var_18]                                         ; +0xbf, 0x14003f27f\nmov     rsp, r11                                                       ; +0xc4, 0x14003f284\npop     rdi                                                            ; +0xc7, 0x14003f287\nretn                                                                   ; +0xc8, 0x14003f288", "xrefs": ["FLAlertLayer::init @ 0x140052566", "FLAlertLayer::init @ 0x1400525e3", "AccountRegisterLayer::init @ 0x140078ca0", "AccountRegisterLayer::init @ 0x140078d01", "AccountLoginLayer::init @ 0x14007bbd4", "AccountLoginLayer::init @ 0x14007bc35", "AccountLayer::customSetup @ 0x14007d923", "AccountLayer::customSetup @ 0x14007d97f", "AccountLayer::customSetup @ 0x14007da79", "AccountLayer::customSetup @ 0x14007dad5", "AccountLayer::customSetup @ 0x14007db31", "AccountHelpLayer::customSetup @ 0x14007f7fa", "AccountHelpLayer::customSetup @ 0x14007f855", "AccountHelpLayer::customSetup @ 0x14007f8ac", "HSVWidgetPopup::init @ 0x1400967fe", "ConfigureValuePopup::init @ 0x1400988b3", "CreateGuidelinesLayer::init @ 0x14009a13e", "CreateGuidelinesLayer::init @ 0x14009a4cd", "CreateGuidelinesLayer::init @ 0x14009a589", "CustomizeObjectLayer::init @ 0x1400a574d", "LevelCell::loadCustomLevelCell @ 0x1400aebf9", "LevelCell::loadLocalLevelCell @ 0x1400b1028", "MapPackCell::loadFromMapPack @ 0x1400b1ed2", "CommentCell::loadFromComment @ 0x1400b73da", "LevelListCell::loadFromList @ 0x1400bf3a2", "EditorPauseLayer::customSetup @ 0x1400da620", "EditorPauseLayer::customSetup @ 0x1400da671", "EditorPauseLayer::customSetup @ 0x1400da6c8", "EditorPauseLayer::customSetup @ 0x1400da726", "EditorPauseLayer::customSetup @ 0x1400da78f", "GJFollowCommandLayer::init @ 0x140270898", "ItemInfoPopup::init @ 0x14027c154", "GJPFollowCommandLayer::init @ 0x14028a985", "TOSPopup::init @ 0x14029e39e", "GameOptionsLayer::setupOptions @ 0x14029f8ad", "GameOptionsLayer::setupOptions @ 0x14029f94f", "GJSpecialColorSelect::init @ 0x1402b8062", "GJRateLevelLayer::init @ 0x1402f52fa", "GJRateLevelLayer::init @ 0x1402f535c", "ShareListLayer::init @ 0x14030a2dd", "ShareListLayer::init @ 0x14030a357", "UploadListPopup::listUploadFinished @ 0x14030b820", "UploadListPopup::listUploadFailed @ 0x14030bb08", "DemonFilterSelectLayer::init @ 0x140317e4d", "OptionsLayer::customSetup @ 0x140371def", "OptionsLayer::customSetup @ 0x140371e48", "OptionsLayer::customSetup @ 0x140371ea1", "OptionsLayer::customSetup @ 0x140371efa", "OptionsLayer::customSetup @ 0x140371f52", "OptionsLayer::customSetup @ 0x140371fb1", "OptionsLayer::customSetup @ 0x140372017", "VideoOptionsLayer::init @ 0x140377a50", "VideoOptionsLayer::init @ 0x140377aea", "DemonInfoPopup::init @ 0x1403c79c6", "StarInfoPopup::init @ 0x1403c88ce", "RateDemonLayer::init @ 0x1403c8f53", "RateDemonLayer::init @ 0x1403c8ffa", "RateLevelLayer::init @ 0x1403c9ac5", "RateLevelLayer::init @ 0x1403c9b6c", "RateStarsLayer::init @ 0x1403ca6f6", "RateStarsLayer::init @ 0x1403ca79a", "SetupCameraOffsetTrigger::init @ 0x1404155f0", "SetupMGTrigger::init @ 0x1404273f4", "SetupGameplayOffsetPopup::init @ 0x140442678", "SetupItemEditTriggerPopup::init @ 0x14046b9c7", "SetupItemCompareTriggerPopup::init @ 0x14046e2b2", "ShareCommentLayer::init @ 0x14048da46", "ShareCommentLayer::init @ 0x14048daaf", "ShareLevelLayer::init @ 0x14048f80e", "ShareLevelLayer::init @ 0x14048f888", "UploadPopup::levelUploadFinished @ 0x140490d00", "UploadPopup::levelUploadFailed @ 0x140490ee1", "<???> @ 0x1406c4164"], "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"}