{"type": "func", "start": 5368982496, "end": 5368982697, "name": "ButtonSprite::create_1", "pseudocode": "// \n// ButtonSprite::create_1 from 0x140042be0 to 0x140042ca9 (201 bytes)\n// \n// 80 xrefs:\n// > FLAlertLayer::init @ 0x14005b05d\n// > FLAlertLayer::init @ 0x14005b0ed\n// > AccountRegisterLayer::init @ 0x14008cefa\n// > AccountRegisterLayer::init @ 0x14008cf5e\n// > AccountLoginLayer::init @ 0x140090d91\n// > AccountLoginLayer::init @ 0x140090df5\n// > AccountLayer::customSetup @ 0x140092fcf\n// > AccountLayer::customSetup @ 0x14009302e\n// > AccountLayer::customSetup @ 0x14009312e\n// > AccountLayer::customSetup @ 0x14009318d\n// > AccountLayer::customSetup @ 0x1400931e9\n// > AccountHelpLayer::customSetup @ 0x140094ed5\n// > AccountHelpLayer::customSetup @ 0x140094f33\n// > AccountHelpLayer::customSetup @ 0x140094f8a\n// > AdminActionConfirmPopup::init @ 0x1400a5fe4\n// > ReviewChoiceSheet::init @ 0x1400aea38\n// > DeathStatsPopup::init @ 0x14011ebab\n// > DeathStatsPopup::init @ 0x14011ed2b\n// > DeathStatsPopup::init @ 0x14011edee\n// > HSVWidgetPopup::init @ 0x14012f891\n// > ConfigureValuePopup::init @ 0x140131dc3\n// > CreateGuidelinesLayer::init @ 0x140133712\n// > CreateGuidelinesLayer::init @ 0x140133aa8\n// > CreateGuidelinesLayer::init @ 0x140133b75\n// > CustomizeObjectLayer::init @ 0x14013f761\n// > LevelCell::loadCustomLevelCell @ 0x14014a238\n// > LevelCell::loadLocalLevelCell @ 0x14014caba\n// > MapPackCell::loadFromMapPack @ 0x14014d9d8\n// > CommentCell::loadFromComment @ 0x1401538e0\n// > LevelListCell::loadFromList @ 0x14015ea7b\n// > DailyRecallUnlockPopup::init @ 0x14017449d\n// > DailyRecallUnlockPopup::init @ 0x140174553\n// > EditorPauseLayer::customSetup @ 0x140181645\n// > EditorPauseLayer::customSetup @ 0x140181698\n// > EditorPauseLayer::customSetup @ 0x1401816f1\n// > EditorPauseLayer::customSetup @ 0x140181751\n// > EditorPauseLayer::customSetup @ 0x1401817ba\n// > EditorSoundConfigInfoLayer::init @ 0x140193b10\n// > ItemInfoPopup::init @ 0x140384bf8\n// > TOSPopup::init @ 0x1403a96a6\n// > GJSpecialColorSelect::init @ 0x1403be698\n// > GJRateLevelLayer::init @ 0x140419e04\n// > GJRateLevelLayer::init @ 0x140419e68\n// > LevelStatsInfoPopup::init @ 0x140426c68\n// > ShareListLayer::init @ 0x1404323ab\n// > ShareListLayer::init @ 0x140432445\n// > UploadListPopup::listUploadFinished @ 0x140433af0\n// > UploadListPopup::listUploadFailed @ 0x140433de0\n// > DemonFilterSelectLayer::init @ 0x1404410d3\n// > OptionsLayer::customSetup @ 0x1404caf3f\n// > OptionsLayer::customSetup @ 0x1404caf9b\n// > OptionsLayer::customSetup @ 0x1404caff7\n// > OptionsLayer::customSetup @ 0x1404cb050\n// > OptionsLayer::customSetup @ 0x1404cb0ac\n// > OptionsLayer::customSetup @ 0x1404cb10f\n// > OptionsLayer::customSetup @ 0x1404cb176\n// > VideoOptionsLayer::init @ 0x1404cd7ae\n// > VideoOptionsLayer::init @ 0x1404cd849\n// > DemonInfoPopup::init @ 0x14055b837\n// > StarInfoPopup::init @ 0x14055c7cb\n// > RateDemonLayer::init @ 0x14055d409\n// > RateDemonLayer::init @ 0x14055d4b0\n// > RateLevelLayer::init @ 0x14055df8b\n// > RateLevelLayer::init @ 0x14055e032\n// > RateStarsLayer::init @ 0x14055eadd\n// > RateStarsLayer::init @ 0x14055eb81\n// > RateStarsModLayer::init @ 0x14055fda4\n// > RateStarsModLayer::init @ 0x14055fe49\n// > SetupCameraOffsetTrigger::init @ 0x1405aca1d\n// > SetupMGTrigger::init @ 0x1405bca0d\n// > SetupGameplayOffsetPopup::init @ 0x1405d77ab\n// > SetupItemEditTriggerPopup::init @ 0x140601ecc\n// > SetupItemCompareTriggerPopup::init @ 0x14060496c\n// > ShareCommentLayer::init @ 0x14062eabc\n// > ShareCommentLayer::init @ 0x14062eb28\n// > ShareLevelLayer::init @ 0x140630dbf\n// > ShareLevelLayer::init @ 0x140630e3c\n// > UploadPopup::levelUploadFinished @ 0x140632750\n// > UploadPopup::levelUploadFailed @ 0x140632928\n// > <???> @ 0x14090f674\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 11:25:30 +0000\n// \n\n// Hidden C++ exception states: #wind=1\ncocos2d::CCObject *__fastcall ButtonSprite::create_1(\n        int a1,\n        int a2,\n        int a3,\n        float a4,\n        char a5,\n        __int64 a6,\n        __int64 a7,\n        int a8)\n{\n  cocos2d::CCObject *v11; // rbx\n  void *v13; // [rsp+50h] [rbp-28h]\n\n  v13 = operator new(0x2C8u);\n  v11 = (cocos2d::CCObject *)ButtonSprite::ButtonSprite((__int64)v13);\n  if ( v11 )\n  {\n    if ( (unsigned __int8)ButtonSprite::init_1((_DWORD)v11, a1, a2, a3, LODWORD(a4), a5, a6, a7, a8) )\n    {\n      cocos2d::CCObject::autorelease(v11);\n    }\n    else\n    {\n      (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v11 + 8LL))(v11, 1);\n      return nullptr;\n    }\n  }\n  return v11;\n}", "assembly": "; \n; ButtonSprite::create_1 from 0x140042be0 to 0x140042ca9 (201 bytes)\n; \n; 80 xrefs:\n; > FLAlertLayer::init @ 0x14005b05d\n; > FLAlertLayer::init @ 0x14005b0ed\n; > AccountRegisterLayer::init @ 0x14008cefa\n; > AccountRegisterLayer::init @ 0x14008cf5e\n; > AccountLoginLayer::init @ 0x140090d91\n; > AccountLoginLayer::init @ 0x140090df5\n; > AccountLayer::customSetup @ 0x140092fcf\n; > AccountLayer::customSetup @ 0x14009302e\n; > AccountLayer::customSetup @ 0x14009312e\n; > AccountLayer::customSetup @ 0x14009318d\n; > AccountLayer::customSetup @ 0x1400931e9\n; > AccountHelpLayer::customSetup @ 0x140094ed5\n; > AccountHelpLayer::customSetup @ 0x140094f33\n; > AccountHelpLayer::customSetup @ 0x140094f8a\n; > AdminActionConfirmPopup::init @ 0x1400a5fe4\n; > ReviewChoiceSheet::init @ 0x1400aea38\n; > DeathStatsPopup::init @ 0x14011ebab\n; > DeathStatsPopup::init @ 0x14011ed2b\n; > DeathStatsPopup::init @ 0x14011edee\n; > HSVWidgetPopup::init @ 0x14012f891\n; > ConfigureValuePopup::init @ 0x140131dc3\n; > CreateGuidelinesLayer::init @ 0x140133712\n; > CreateGuidelinesLayer::init @ 0x140133aa8\n; > CreateGuidelinesLayer::init @ 0x140133b75\n; > CustomizeObjectLayer::init @ 0x14013f761\n; > LevelCell::loadCustomLevelCell @ 0x14014a238\n; > LevelCell::loadLocalLevelCell @ 0x14014caba\n; > MapPackCell::loadFromMapPack @ 0x14014d9d8\n; > CommentCell::loadFromComment @ 0x1401538e0\n; > LevelListCell::loadFromList @ 0x14015ea7b\n; > DailyRecallUnlockPopup::init @ 0x14017449d\n; > DailyRecallUnlockPopup::init @ 0x140174553\n; > EditorPauseLayer::customSetup @ 0x140181645\n; > EditorPauseLayer::customSetup @ 0x140181698\n; > EditorPauseLayer::customSetup @ 0x1401816f1\n; > EditorPauseLayer::customSetup @ 0x140181751\n; > EditorPauseLayer::customSetup @ 0x1401817ba\n; > EditorSoundConfigInfoLayer::init @ 0x140193b10\n; > ItemInfoPopup::init @ 0x140384bf8\n; > TOSPopup::init @ 0x1403a96a6\n; > GJSpecialColorSelect::init @ 0x1403be698\n; > GJRateLevelLayer::init @ 0x140419e04\n; > GJRateLevelLayer::init @ 0x140419e68\n; > LevelStatsInfoPopup::init @ 0x140426c68\n; > ShareListLayer::init @ 0x1404323ab\n; > ShareListLayer::init @ 0x140432445\n; > UploadListPopup::listUploadFinished @ 0x140433af0\n; > UploadListPopup::listUploadFailed @ 0x140433de0\n; > DemonFilterSelectLayer::init @ 0x1404410d3\n; > OptionsLayer::customSetup @ 0x1404caf3f\n; > OptionsLayer::customSetup @ 0x1404caf9b\n; > OptionsLayer::customSetup @ 0x1404caff7\n; > OptionsLayer::customSetup @ 0x1404cb050\n; > OptionsLayer::customSetup @ 0x1404cb0ac\n; > OptionsLayer::customSetup @ 0x1404cb10f\n; > OptionsLayer::customSetup @ 0x1404cb176\n; > VideoOptionsLayer::init @ 0x1404cd7ae\n; > VideoOptionsLayer::init @ 0x1404cd849\n; > DemonInfoPopup::init @ 0x14055b837\n; > StarInfoPopup::init @ 0x14055c7cb\n; > RateDemonLayer::init @ 0x14055d409\n; > RateDemonLayer::init @ 0x14055d4b0\n; > RateLevelLayer::init @ 0x14055df8b\n; > RateLevelLayer::init @ 0x14055e032\n; > RateStarsLayer::init @ 0x14055eadd\n; > RateStarsLayer::init @ 0x14055eb81\n; > RateStarsModLayer::init @ 0x14055fda4\n; > RateStarsModLayer::init @ 0x14055fe49\n; > SetupCameraOffsetTrigger::init @ 0x1405aca1d\n; > SetupMGTrigger::init @ 0x1405bca0d\n; > SetupGameplayOffsetPopup::init @ 0x1405d77ab\n; > SetupItemEditTriggerPopup::init @ 0x140601ecc\n; > SetupItemCompareTriggerPopup::init @ 0x14060496c\n; > ShareCommentLayer::init @ 0x14062eabc\n; > ShareCommentLayer::init @ 0x14062eb28\n; > ShareLevelLayer::init @ 0x140630dbf\n; > ShareLevelLayer::init @ 0x140630e3c\n; > UploadPopup::levelUploadFinished @ 0x140632750\n; > UploadPopup::levelUploadFailed @ 0x140632928\n; > <???> @ 0x14090f674\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 11:25:30 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140042be0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x140042be5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x140042bea\npush    rdi                                                            ; +0xf, 0x140042bef\nsub     rsp, 70h                                                       ; +0x10, 0x140042bf0\nmovaps  [rsp+78h+var_18], xmm6                                         ; +0x14, 0x140042bf4\nmovaps  xmm6, xmm3                                                     ; +0x19, 0x140042bf9\nmov     edi, r8d                                                       ; +0x1c, 0x140042bfc\nmov     esi, edx                                                       ; +0x1f, 0x140042bff\nmov     rbp, rcx                                                       ; +0x21, 0x140042c01\nmov     ecx, 2C8h; Size                                                ; +0x24, 0x140042c04\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x29, 0x140042c09\nmov     [rsp+78h+var_28], rax                                          ; +0x2e, 0x140042c0e\nmov     rcx, rax                                                       ; +0x33, 0x140042c13\ncall    ButtonSprite__ButtonSprite                                     ; +0x36, 0x140042c16\nmov     rbx, rax                                                       ; +0x3b, 0x140042c1b\ntest    rax, rax                                                       ; +0x3e, 0x140042c1e\njz      short loc_140042C8B                                            ; +0x41, 0x140042c21\nmovss   xmm0, [rsp+78h+arg_38]                                         ; +0x43, 0x140042c23\nmovss   [rsp+78h+var_38], xmm0                                         ; +0x4c, 0x140042c2c\nmov     rax, [rsp+78h+arg_30]                                          ; +0x52, 0x140042c32\nmov     [rsp+78h+var_40], rax                                          ; +0x5a, 0x140042c3a\nmov     rax, [rsp+78h+arg_28]                                          ; +0x5f, 0x140042c3f\nmov     [rsp+78h+var_48], rax                                          ; +0x67, 0x140042c47\nmovzx   ecx, [rsp+78h+arg_20]                                          ; +0x6c, 0x140042c4c\nmov     [rsp+78h+var_50], cl                                           ; +0x74, 0x140042c54\nmovss   [rsp+78h+var_58], xmm6                                         ; +0x78, 0x140042c58\nmov     r9d, edi                                                       ; +0x7e, 0x140042c5e\nmov     r8d, esi                                                       ; +0x81, 0x140042c61\nmov     rdx, rbp                                                       ; +0x84, 0x140042c64\nmov     rcx, rbx                                                       ; +0x87, 0x140042c67\ncall    ButtonSprite__init_1                                           ; +0x8a, 0x140042c6a\nmov     rcx, rbx                                                       ; +0x8f, 0x140042c6f\ntest    al, al                                                         ; +0x92, 0x140042c72\njz      short loc_140042C7E                                            ; +0x94, 0x140042c74\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x96, 0x140042c76\njmp     short loc_140042C8B                                            ; +0x9c, 0x140042c7c\nmov     rax, [rbx]                                                     ; +0x9e, 0x140042c7e\nmov     edx, 1                                                         ; +0xa1, 0x140042c81\ncall    qword ptr [rax+8]                                              ; +0xa6, 0x140042c86\nxor     ebx, ebx                                                       ; +0xa9, 0x140042c89\nmov     rax, rbx                                                       ; +0xab, 0x140042c8b\nlea     r11, [rsp+78h+var_8]                                           ; +0xae, 0x140042c8e\nmov     rbx, [r11+10h]                                                 ; +0xb3, 0x140042c93\nmov     rbp, [r11+18h]                                                 ; +0xb7, 0x140042c97\nmov     rsi, [r11+20h]                                                 ; +0xbb, 0x140042c9b\nmovaps  xmm6, [rsp+78h+var_18]                                         ; +0xbf, 0x140042c9f\nmov     rsp, r11                                                       ; +0xc4, 0x140042ca4\npop     rdi                                                            ; +0xc7, 0x140042ca7\nretn                                                                   ; +0xc8, 0x140042ca8", "xrefs": ["FLAlertLayer::init @ 0x14005b05d", "FLAlertLayer::init @ 0x14005b0ed", "AccountRegisterLayer::init @ 0x14008cefa", "AccountRegisterLayer::init @ 0x14008cf5e", "AccountLoginLayer::init @ 0x140090d91", "AccountLoginLayer::init @ 0x140090df5", "AccountLayer::customSetup @ 0x140092fcf", "AccountLayer::customSetup @ 0x14009302e", "AccountLayer::customSetup @ 0x14009312e", "AccountLayer::customSetup @ 0x14009318d", "AccountLayer::customSetup @ 0x1400931e9", "AccountHelpLayer::customSetup @ 0x140094ed5", "AccountHelpLayer::customSetup @ 0x140094f33", "AccountHelpLayer::customSetup @ 0x140094f8a", "AdminActionConfirmPopup::init @ 0x1400a5fe4", "ReviewChoiceSheet::init @ 0x1400aea38", "DeathStatsPopup::init @ 0x14011ebab", "DeathStatsPopup::init @ 0x14011ed2b", "DeathStatsPopup::init @ 0x14011edee", "HSVWidgetPopup::init @ 0x14012f891", "ConfigureValuePopup::init @ 0x140131dc3", "CreateGuidelinesLayer::init @ 0x140133712", "CreateGuidelinesLayer::init @ 0x140133aa8", "CreateGuidelinesLayer::init @ 0x140133b75", "CustomizeObjectLayer::init @ 0x14013f761", "LevelCell::loadCustomLevelCell @ 0x14014a238", "LevelCell::loadLocalLevelCell @ 0x14014caba", "MapPackCell::loadFromMapPack @ 0x14014d9d8", "CommentCell::loadFromComment @ 0x1401538e0", "LevelListCell::loadFromList @ 0x14015ea7b", "DailyRecallUnlockPopup::init @ 0x14017449d", "DailyRecallUnlockPopup::init @ 0x140174553", "EditorPauseLayer::customSetup @ 0x140181645", "EditorPauseLayer::customSetup @ 0x140181698", "EditorPauseLayer::customSetup @ 0x1401816f1", "EditorPauseLayer::customSetup @ 0x140181751", "EditorPauseLayer::customSetup @ 0x1401817ba", "EditorSoundConfigInfoLayer::init @ 0x140193b10", "ItemInfoPopup::init @ 0x140384bf8", "TOSPopup::init @ 0x1403a96a6", "GJSpecialColorSelect::init @ 0x1403be698", "GJRateLevelLayer::init @ 0x140419e04", "GJRateLevelLayer::init @ 0x140419e68", "LevelStatsInfoPopup::init @ 0x140426c68", "ShareListLayer::init @ 0x1404323ab", "ShareListLayer::init @ 0x140432445", "UploadListPopup::listUploadFinished @ 0x140433af0", "UploadListPopup::listUploadFailed @ 0x140433de0", "DemonFilterSelectLayer::init @ 0x1404410d3", "OptionsLayer::customSetup @ 0x1404caf3f", "OptionsLayer::customSetup @ 0x1404caf9b", "OptionsLayer::customSetup @ 0x1404caff7", "OptionsLayer::customSetup @ 0x1404cb050", "OptionsLayer::customSetup @ 0x1404cb0ac", "OptionsLayer::customSetup @ 0x1404cb10f", "OptionsLayer::customSetup @ 0x1404cb176", "VideoOptionsLayer::init @ 0x1404cd7ae", "VideoOptionsLayer::init @ 0x1404cd849", "DemonInfoPopup::init @ 0x14055b837", "StarInfoPopup::init @ 0x14055c7cb", "RateDemonLayer::init @ 0x14055d409", "RateDemonLayer::init @ 0x14055d4b0", "RateLevelLayer::init @ 0x14055df8b", "RateLevelLayer::init @ 0x14055e032", "RateStarsLayer::init @ 0x14055eadd", "RateStarsLayer::init @ 0x14055eb81", "RateStarsModLayer::init @ 0x14055fda4", "RateStarsModLayer::init @ 0x14055fe49", "SetupCameraOffsetTrigger::init @ 0x1405aca1d", "SetupMGTrigger::init @ 0x1405bca0d", "SetupGameplayOffsetPopup::init @ 0x1405d77ab", "SetupItemEditTriggerPopup::init @ 0x140601ecc", "SetupItemCompareTriggerPopup::init @ 0x14060496c", "ShareCommentLayer::init @ 0x14062eabc", "ShareCommentLayer::init @ 0x14062eb28", "ShareLevelLayer::init @ 0x140630dbf", "ShareLevelLayer::init @ 0x140630e3c", "UploadPopup::levelUploadFinished @ 0x140632750", "UploadPopup::levelUploadFailed @ 0x140632928", "<???> @ 0x14090f674"], "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"}