// // cocos2d::CCMessageBox from 0x100154f00 to 0x10015500a (266 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:25:03 +0000 // id __fastcall cocos2d::CCMessageBox(__int64 a1, __int64 a2) { NSString *v2; // rbx NSString *v3; // r15 NSAlert *v4; // rax NSAlert *v5; // r14 id v6; // rax id v7; // rbx id v8; // rax if ( !a2 ) { v2 = nullptr; if ( a1 ) goto LABEL_3; LABEL_5: v3 = nullptr; goto LABEL_6; } v2 = +[NSString stringWithUTF8String:](&OBJC_CLASS___NSString, "stringWithUTF8String:", a2); if ( !a1 ) goto LABEL_5; LABEL_3: v3 = +[NSString stringWithUTF8String:](&OBJC_CLASS___NSString, "stringWithUTF8String:", a1); LABEL_6: v4 = objc_alloc_init(&OBJC_CLASS___NSAlert); v5 = objc_autorelease(v4); -[NSAlert addButtonWithTitle:](v5, "addButtonWithTitle:", CFSTR("OK")); -[NSAlert setMessageText:](v5, "setMessageText:", v3); -[NSAlert setInformativeText:](v5, "setInformativeText:", v2); -[NSAlert setAlertStyle:](v5, "setAlertStyle:", 0); v6 = +[EAGLView sharedEGLView](&OBJC_CLASS___EAGLView, "sharedEGLView"); v7 = objc_msgSend(v6, "window"); v8 = objc_msgSend(v7, "delegate"); return -[NSAlert beginSheetModalForWindow:modalDelegate:didEndSelector:contextInfo:]( v5, "beginSheetModalForWindow:modalDelegate:didEndSelector:contextInfo:", v7, v8, 0, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source