{"type": "func", "start": 4298150772, "end": 4298150820, "name": "ItemInfoPopup::onCredit", "pseudocode": "// \n// ItemInfoPopup::onCredit from 0x100309374 to 0x1003093a4 (48 bytes)\n// \n// 1 xrefs:\n// > ItemInfoPopup::init @ 0x100308f74\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\nvoid __fastcall ItemInfoPopup::onCredit(ItemInfoPopup *a1, cocos2d::CCObject *a2)\n{\n  int m_accountID; // w0\n  ProfilePage *v3; // x0\n\n  m_accountID = a1->m_accountID;\n  if ( m_accountID >= 1 )\n  {\n    v3 = ProfilePage::create(m_accountID, 0);\n    ((void (__fastcall *)(ProfilePage *))v3->show)(v3);\n  }\n}", "assembly": "; \n; ItemInfoPopup::onCredit from 0x100309374 to 0x1003093a4 (48 bytes)\n; \n; 1 xrefs:\n; > ItemInfoPopup::init @ 0x100308f74\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\nLDR             W0, [X0,#0x280]                                        ; +0x0, 0x100309374\nCMP             W0, #1                                                 ; +0x4, 0x100309378\nB.LT            locret_1003093A0                                       ; +0x8, 0x10030937c\nSTP             X29, X30, [SP,#var_10]!                                ; +0xc, 0x100309380\nMOV             X29, SP                                                ; +0x10, 0x100309384\nMOV             W1, #0                                                 ; +0x14, 0x100309388\nBL              ProfilePage__create                                    ; +0x18, 0x10030938c\nLDR             X8, [X0]                                               ; +0x1c, 0x100309390\nLDR             X1, [X8,#0x508]                                        ; +0x20, 0x100309394\nLDP             X29, X30, [SP+0x10+var_10],#0x10                       ; +0x24, 0x100309398\nBR              X1                                                     ; +0x28, 0x10030939c\nRET                                                                    ; +0x2c, 0x1003093a0", "xrefs": ["ItemInfoPopup::init @ 0x100308f74"], "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"}